KWeb
6.4
|
Sekcje tworzone są na podstawie ustawienia sections/init w formacie: array( id => array(parametry) ) More...
Public Member Functions | |
get ($id) | |
Zwraca obiekt sekcji dla podanego ID. | |
getCurrent ($object=true) | |
getCurrentDesign () | |
register ($section) | |
Rejestruje obiekt sekcji. | |
setCurrent ($id) | |
add ($id, $data) | |
Static Public Member Functions | |
static | instance ($create=true) |
Data Fields | |
$list = array() | |
Static Public Attributes | |
static | $inst = null |
Protected Member Functions | |
__construct () |
Sekcje tworzone są na podstawie ustawienia sections/init w formacie: array( id => array(parametry) )
Parametry:
name header footer parent - sekcja nadrzędna config - inc z configiem do załadowania boxes - inc z configiem boxów do załadowania prefix - prefix używany w wyszukiwaniu szablonów.. Jeżeli kończy się na '/' używane jest PREFIX/WIDOK/INC, w przeciwnym razie WIDOK/PREFIXINC hidden - ukryta w wybieraku nosynch - nie używa synchronizacji
if (substr($prefixItem, -1) == '/') { $incPath = $prefixItem . $view . $sep . $prefix . $i; } else { $incPath = $view . $sep . $prefixItem . $prefix . $i; }
KWebSections::__construct | ( | ) | [protected] |
KWebSections::add | ( | $ | id, |
$ | data | ||
) |
KWebSections::get | ( | $ | id | ) |
Zwraca obiekt sekcji dla podanego ID.
KWebSections::getCurrent | ( | $ | object = true | ) |
KWebSections::getCurrentDesign | ( | ) |
static KWebSections::instance | ( | $ | create = true | ) | [static] |
KWebSections::register | ( | $ | section | ) |
Rejestruje obiekt sekcji.
KWebSections::setCurrent | ( | $ | id | ) |
KWebSections::$inst = null [static] |
KWebSections::$list = array() |