Interface class for Zend_View compatible template engine implementations
category | Zend |
---|---|
package | Zend_View |
copyright | Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license | New BSD License |
__isset(string $key) : boolean
string
boolean
__set(string $key, mixed $val) : void
string
The variable name.
mixed
The variable value.
__unset(string $key) : void
string
addBasePath(string $path, string $classPrefix = 'Zend_View'
) : void
string
string
assign(string|array $spec, mixed $value = null
) : void
Suggested implementation is to allow setting a specific key to the specified value, OR passing an array of key => value pairs to set en masse.
see |
---|
string
array
The assignment strategy to use (key or array of key => value pairs)
mixed
(Optional) If assigning a named variable, use this as the value.
clearVars() : void
Clears all variables assigned to Zend_View either via \assign() or property overloading (__get()/__set()).
getEngine() : mixed
If using a third-party template engine, such as Smarty, patTemplate, phplib, etc, return the template engine object. Useful for calling methods on these objects, such as for setting filters, modifiers, etc.
mixed
getScriptPaths() : array
array
render(string $name) : string
string
The script name to process.
string
The script output.setBasePath(string $path, string $classPrefix = 'Zend_View'
) : void
string
string
setScriptPath($path) : void