Definición en la línea 27 del archivo kumbia_view.php.
static cache |
( |
|
$time, |
|
|
|
$type = 'view' , |
|
|
|
$group = 'kumbia.view' |
|
) |
| |
|
static |
Asigna cacheo de vistas o template
- Parámetros
-
$time | Tiempo de vida de cache |
$type | Tipo de cache (view, template) |
$group | Grupo de pertenencia de cache |
- Devuelve
- boolean En producción y cache de view
Definición en la línea 168 del archivo kumbia_view.php.
Obtiene un atributo de KumbiaView
- Parámetros
-
string | $atribute | nombre de atributo (template, response, path, etc) |
Definición en la línea 154 del archivo kumbia_view.php.
Obtiene la cache de view
- Devuelve
- boolean
Definición en la línea 188 del archivo kumbia_view.php.
Obtiene el path para vista incluyendo la extension .phtml
- Devuelve
- string
Definición en la línea 141 del archivo kumbia_view.php.
static getVar |
( |
|
$var = NULL ) | |
|
|
static |
Obtiene el valor de un atributo público o todos del controlador
- Parámetros
-
string | $var | nombre de variable |
- Devuelve
- mixed valor de la variable
Definición en la línea 348 del archivo kumbia_view.php.
static helpers |
( |
|
$helper) | |
|
|
static |
Carga los helpers
- Obsoleto:
- ahora se cargan automaticamente
- Parámetros
-
- Excepciones
-
Definición en la línea 327 del archivo kumbia_view.php.
static partial |
( |
|
$partial, |
|
|
|
$__time = FALSE , |
|
|
|
$params = NULL , |
|
|
|
$group = 'kumbia.partials' |
|
) |
| |
|
static |
Renderiza una vista parcial
- Parámetros
-
string | $partial | vista a renderizar |
FALSE | string | $__time | tiempo de cache |
array | $params | |
string | $group | grupo de cache |
- Devuelve
- string
- Excepciones
-
Definición en la línea 286 del archivo kumbia_view.php.
static render |
( |
|
$controller) | |
|
|
static |
static response |
( |
|
$response, |
|
|
|
$template = FALSE |
|
) |
| |
|
static |
Indica el tipo de Respuesta dada por el controlador buscando el view con esa extension. ej. View::response('xml'); buscara: views/controller/action.xml.phtml
- Parámetros
-
string | $response | |
string | $template | Opcional nombre del template sin .phtml |
Definición en la línea 112 del archivo kumbia_view.php.
static select |
( |
|
$view, |
|
|
|
$template = FALSE |
|
) |
| |
|
static |
Cambia el view y opcionalmente el template
- Parámetros
-
string | $view | nombre del view a utilizar sin .phtml |
string | $template | opcional nombre del template a utilizar sin .phtml |
Definición en la línea 83 del archivo kumbia_view.php.
Asigna el path de la vista
- Parámetros
-
string | $path | path de la vista sin extension .phtml |
Definición en la línea 131 del archivo kumbia_view.php.
static template |
( |
|
$template) | |
|
|
static |
Asigna el template para la vista
- Parámetros
-
string | $template | nombre del template a utilizar sin .phtml |
Definición en la línea 98 del archivo kumbia_view.php.
$_cache = array('type' => FALSE, 'time' => FALSE, 'group' => FALSE) |
|
staticprotected |
La documentación para esta clase fue generada a partir del siguiente fichero: