|
KumbiaPHP beta2-dev
Framework PHP en español
|
Métodos públicos estáticos | |
| static | select ($view, $template=FALSE) |
| Cambia el view y opcionalmente el template. | |
| static | template ($template) |
| Asigna el template para la vista. | |
| static | response ($response, $template=FALSE) |
| Indica el tipo de Respuesta dada por el controlador buscando el view con esa extension. | |
| static | setPath ($path) |
| Asigna el path de la vista. | |
| static | get ($atribute) |
| Obtiene un atributo de KumbiaView. | |
| static | cache ($time, $type='view', $group=FALSE) |
| Asigna cacheo de vistas o template. | |
| static | render ($controller, $_url) |
| Renderiza la vista. | |
| static | content () |
| Imprime el contenido del buffer. | |
| static | partial ($partial, $__time=FALSE, $params=array()) |
| Renderiza una vista parcial. | |
| static | helpers ($helper) |
| Carga los helpers. | |
Atributos protegidos estáticos | |
| static | $_content |
| static | $_view |
| static | $_template = 'default' |
| static | $_response |
| static | $_path |
| static | $_cache = array('type' => FALSE, 'time' => FALSE, 'group'=> FALSE) |
Métodos privados estáticos | |
| static | getPath () |
| Obtiene el path para vista incluyendo la extension .phtml. | |
Definición en la línea 22 del archivo kumbia_view.php.
| static cache | ( | $ | time, |
| $ | type = 'view', |
||
| $ | group = FALSE |
||
| ) | [static] |
Asigna cacheo de vistas o template.
| $time | Tiempo de vida de cache |
| $type | Tipo de cache (view, template) |
| $group | Grupo de pertenencia de cache |
Definición en la línea 157 del archivo kumbia_view.php.
| static content | ( | ) | [static] |
Imprime el contenido del buffer.
Definición en la línea 250 del archivo kumbia_view.php.
Hace referencia a $_content.
Referenciado por content().

| static get | ( | $ | atribute | ) | [static] |
Obtiene un atributo de KumbiaView.
| string | $attribute | nombre de atributo (template, response, path, etc) |
Definición en la línea 145 del archivo kumbia_view.php.
Referenciado por KumbiaException::handle_exception().

| static getPath | ( | ) | [static, private] |
Obtiene el path para vista incluyendo la extension .phtml.
Definición en la línea 132 del archivo kumbia_view.php.
Referenciado por render().

| static helpers | ( | $ | helper | ) | [static] |
Carga los helpers.
| string | $helper |
| KumbiaException |
Definición en la línea 305 del archivo kumbia_view.php.
Hace referencia a Util::smallcase().

| static partial | ( | $ | partial, |
| $ | __time = FALSE, |
||
| $ | params = array() |
||
| ) | [static] |
Renderiza una vista parcial.
| string | $partial | vista a renderizar |
| string | $time | tiempo de cache |
| array | $params |
| KumbiaException |
Definición en la línea 268 del archivo kumbia_view.php.
Hace referencia a Cache::driver() y get_params().
Referenciado por render_partial() y tab_tag().


| static render | ( | $ | controller, |
| $ | _url | ||
| ) | [static] |
Renderiza la vista.
| Controller | $controller | |
| string | $url | url a renderizar |
Definición en la línea 173 del archivo kumbia_view.php.
Hace referencia a $_content, $controller, Cache::driver() y getPath().

| 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
| string | $type | |
| string | $template | Opcional nombre del template sin .phtml |
Definición en la línea 103 del archivo kumbia_view.php.
Referenciado por Rest::init() y ControllerDeprecated::set_response().

| static select | ( | $ | view, |
| $ | template = FALSE |
||
| ) | [static] |
Cambia el view y opcionalmente el template.
| 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 74 del archivo kumbia_view.php.
Referenciado por ScaffoldController::editar(), Dispatcher::execute(), Rest::init(), Router::redirect(), ControllerDeprecated::render() y PagesController::show().

| static setPath | ( | $ | path | ) | [static] |
Asigna el path de la vista.
| string | $path | path de la vista sin extension .phtml |
Definición en la línea 122 del archivo kumbia_view.php.
Referenciado por Dispatcher::execute().

| static template | ( | $ | template | ) | [static] |
Asigna el template para la vista.
| string | $template | nombre del template a utilizar sin .phtml |
Definición en la línea 89 del archivo kumbia_view.php.
Referenciado por PagesController::before_filter() y ControllerDeprecated::finalize().

$_cache = array('type' => FALSE, 'time' => FALSE, 'group'=> FALSE) [static, protected] |
Definición en la línea 66 del archivo kumbia_view.php.
$_content [static, protected] |
Definición en la línea 28 del archivo kumbia_view.php.
$_path [static, protected] |
Definición en la línea 56 del archivo kumbia_view.php.
$_response [static, protected] |
Definición en la línea 49 del archivo kumbia_view.php.
$_template = 'default' [static, protected] |
Definición en la línea 42 del archivo kumbia_view.php.
$_view [static, protected] |
Definición en la línea 35 del archivo kumbia_view.php.
1.7.4