|
KWeb
6.4
|
Public Member Functions | |
| __construct ($data) | |
| getDataReference () | |
| getDataForCopy () | |
| getHeader () | |
| getFooter () | |
| setHeader ($v) | |
| setFooter ($v) | |
| setTemplateHeader ($header=true, $footer=true) | |
| getDesign () | |
| Zwraca parametr design. | |
| getName () | |
| getId () | |
| getLangNeeded ($useSetting=false) | |
| get ($name, $default=null) | |
| getPrefixList () | |
| Zwraca listę prefixów do ustalania szablonów Najważniejszy prefix znajduje się na KOŃCU. | |
| runConfig () | |
| setCurrent () | |
| getSectionsChain () | |
| Return table of all sections IDs (by parents) | |
Data Fields | |
| const | LANG_NEEDED = 'lang/needed' |
| const | DATA_NAME = 'name' |
| const | DATA_HEADER = 'header' |
| const | DATA_FOOTER = 'footer' |
| const | DATA_PARENT = 'parent' |
| Parent section id. | |
| const | DATA_CONFIG_INC = 'config' |
| INC with configuration to load. | |
| const | DATA_CONFIG_FILE = 'config_file' |
| configuration to load with KWebConfig | |
| const | DATA_SETTINGS = 'settings' |
| settings to import | |
| const | DATA_BOXES_INC = 'boxes' |
| INC with boxes configuration or FALSE. | |
| const | DATA_PREFIX = 'prefix' |
| Prefix for template lookup. | |
| const | DATA_HIDDEN = 'hidden' |
| If TRUE section is hidden in the editors. | |
| const | DATA_NOSYNCH = 'nosynch' |
| If TRUE KWebSynch is disabled. | |
| const | DATA_LANG_NEEDED = 'lang/needed' |
| If TRUE item's need to have translations to be accessible. | |
| const | DATA_DESIGN = 'design' |
| Design to use (usually CSS class added to body) | |
| $data = array() | |
| KWebSection::__construct | ( | $ | data | ) |
| KWebSection::get | ( | $ | name, |
| $ | default = null |
||
| ) |
| KWebSection::getDataForCopy | ( | ) |
| KWebSection::getDataReference | ( | ) |
| KWebSection::getDesign | ( | ) |
Zwraca parametr design.
| KWebSection::getFooter | ( | ) |
| KWebSection::getHeader | ( | ) |
| KWebSection::getId | ( | ) |
| KWebSection::getLangNeeded | ( | $ | useSetting = false | ) |
| KWebSection::getName | ( | ) |
| KWebSection::getPrefixList | ( | ) |
Zwraca listę prefixów do ustalania szablonów Najważniejszy prefix znajduje się na KOŃCU.
Lista łączona jest z lista prefixow globalnych (z domain) tak że: prefixyGlobalne prefixy sekcji prefixyGlobalne + prefixy Sekcji
| KWebSection::getSectionsChain | ( | ) |
Return table of all sections IDs (by parents)
| KWebSection::runConfig | ( | ) |
| KWebSection::setCurrent | ( | ) |
| KWebSection::setFooter | ( | $ | v | ) |
| KWebSection::setHeader | ( | $ | v | ) |
| KWebSection::setTemplateHeader | ( | $ | header = true, |
| $ | footer = true |
||
| ) |
| KWebSection::$data = array() |
| const KWebSection::DATA_BOXES_INC = 'boxes' |
INC with boxes configuration or FALSE.
| const KWebSection::DATA_CONFIG_FILE = 'config_file' |
configuration to load with KWebConfig
| const KWebSection::DATA_CONFIG_INC = 'config' |
INC with configuration to load.
| const KWebSection::DATA_DESIGN = 'design' |
Design to use (usually CSS class added to body)
| const KWebSection::DATA_FOOTER = 'footer' |
| const KWebSection::DATA_HEADER = 'header' |
| const KWebSection::DATA_HIDDEN = 'hidden' |
If TRUE section is hidden in the editors.
| const KWebSection::DATA_LANG_NEEDED = 'lang/needed' |
If TRUE item's need to have translations to be accessible.
| const KWebSection::DATA_NAME = 'name' |
| const KWebSection::DATA_NOSYNCH = 'nosynch' |
If TRUE KWebSynch is disabled.
| const KWebSection::DATA_PARENT = 'parent' |
Parent section id.
| const KWebSection::DATA_PREFIX = 'prefix' |
Prefix for template lookup.
If suffixed with '/' the PREFIX/VIEW/INC is used, otherwise it's VIEW/PREFIXINC
| const KWebSection::DATA_SETTINGS = 'settings' |
settings to import
| const KWebSection::LANG_NEEDED = 'lang/needed' |