Loads and displays Kohana view files.
This is the code documentation for the SproutCMS project
Search documentation |
class ViewLoads and displays Kohana view files.
Variables
Functions
public __constructvoid $View->__construct ( string $name , array $data ); Attempts to load a view and pre-load view data. public __getmixed|void $View->__get ( string &$key ); Magically gets a view variable. public __issetboolean $View->__isset ( [ string $key ] ); Magic method access to test for view property public __setvoid $View->__set ( string $key , string $value ); Magically sets a view variable. public __toStringstring $View->__toString ( ); Magically converts view object to string. public bindobject $View->bind ( string $name , mixed &$var ); Sets a bound variable by reference. public createView View::create ( string $name , array $data ); Create a view as appropriate for the 'sprout.skin_view_types' config. public isPropertySetarray|boolean $View->isPropertySet ( [ string $key ] ); Checks for a property existence in the view locally or globally. Unlike the built in __isset(), this method can take an array of properties to test simultaneously. public rendervoid|string $View->render ( [ boolean $print [, callback $renderer ]] ); Renders a view. public setobject $View->set ( string|array $name [, mixed $value ] ); Sets a view variable. public setFilenameobject $View->setFilename ( string $name ); Sets the view filename. public setGlobalvoid View::setGlobal ( string|array $name [, mixed $value ] ); Sets a view global variable. public stringstring View::string ( string $name , array $data ); Shorthand load and render a view. |
| Powered by Pelzini, version 0.9.0 |
Documentation is made available under the
GNU Free Documentation License 1.2. Generated: Wednesday, 5th August, 2026 at 03:31 pm |
|