Class CMS_action

Description

Class CMS_action

Utility class : used to show an action inside a pack, which are post forms

Located in /automne/classes/common/action.php (line 29)

CMS_grandFather
   |
   --CMS_action
Method Summary
 void __construct (string $label, string $action)
 void addAttribute ( $name,  $value)
 void addHidden ( $name,  $value)
 void addText ( $name, [ $value = ''], [ $size = '30'], [ $arroundCode = ''])
 void getContent ([ $class = "admin"])
Methods
Constructor __construct (line 81)

Constructor.

Initializes the action with its label and form action

  • access: public
void __construct (string $label, string $action)
  • string $label: The button label
  • string $action: The form action atribute
addAttribute (line 97)
void addAttribute ( $name,  $value)
  • $name
  • $value
addHidden (line 87)
void addHidden ( $name,  $value)
  • $name
  • $value
addText (line 92)
void addText ( $name, [ $value = ''], [ $size = '30'], [ $arroundCode = ''])
  • $name
  • $value
  • $size
  • $arroundCode
getContent (line 102)
void getContent ([ $class = "admin"])
  • $class

Inherited Methods

Inherited From CMS_grandFather

 CMS_grandFather::autoload()
 CMS_grandFather::hasError()
 CMS_grandFather::log()
 CMS_grandFather::PHPErrorHandler()
 CMS_grandFather::raiseError()
 CMS_grandFather::setDebug()
 CMS_grandFather::setLog()
 CMS_grandFather::_raiseError()
 CMS_grandFather::__call()
Class Constants

Documentation generated on Wed, 15 Feb 2012 15:28:00 +0100 by phpDocumentor 1.4.3