List of all members.
Detailed Description
Definition at line 31 of file Info.php.
Member Function Documentation
| Robo47_Form_Decorator_Info::getInfo |
( |
|
) |
|
| Robo47_Form_Decorator_Info::render |
( |
$ |
content |
) |
|
- Parameters:
-
- Returns:
- string
Definition at line 79 of file Info.php.
References getInfo().
{
$element = $this->getElement();
$view = $element->getView();
if (null === $view) {
return $content;
}
$separator = $this->getSeparator();
$placement = $this->getPlacement();
$info = $this->getInfo();
switch ($placement) {
case self::PREPEND:
$return = $info . $separator . $content;
break;
case self::APPEND:
default:
$return = $content . $separator . $info;
break;
}
return $return;
}
| Robo47_Form_Decorator_Info::setInfo |
( |
$ |
info |
) |
|
| Robo47_Form_Decorator_Info::setPlacement |
( |
$ |
placement |
) |
|
Member Data Documentation
Robo47_Form_Decorator_Info::$_info = '' [protected] |
Robo47_Form_Decorator_Info::$_placement = self::PREPEND [protected] |
The documentation for this class was generated from the following file: