contentFor()
публичный Метод
Subsequently, you can retrieve it inside an instance variable
that will be named "contentForName" in another template
or in the layout. Example:
contentFor("header") ?>
end() ?>
Use $this->contentForHeader anywhere in your templates:
contentForHeader ?>
public contentFor ( string $name ) : Horde_View_Helper_Capture_ContentFor |
$name |
string |
Name of the content that becomes the instance
variable name. "foo" -> "$this->contentForFoo" |
Результат |
Horde_View_Helper_Capture_ContentFor |
|