![]() |
CMS
Version 3.9
|
Section DataItem, defining the data model for sections within a site. More...
Inherits DataItem.
Public Member Functions | |
SectionModuleXrefs ($constraint="ORDER BY position, sort_order") | |
Modules ($constraint="ORDER BY position, sort_order") | |
Content ($constraint="") | |
Site () | |
getContentManager () | |
getContent ($identifier) | |
getTemplateFile ($identifier) | |
getRole ($identifier) | |
getPermissions ($identifier) | |
getModulesByPosition ($constraint="ORDER BY position, sort_order") | |
clearModuleCache () | |
getSectionURL () | |
Returns the Section URL. More... | |
getDefaultTemplate () | |
Loads the default template associated with this section. More... | |
getDefaultPage () | |
Returns the path to the default page for this section. More... | |
getPositions () | |
Retrieves an array of the position names defined in the template for this page. More... | |
Static Public Member Functions | |
static | createFromIdentifier ($identifier) |
static | findSection ($section_name) |
Public Attributes | |
$primary_key = "section_id" | |
$table = "section" | |
$fields | |
$relations | |
$_content = array() | |
Section DataItem, defining the data model for sections within a site.
Definition at line 44 of file section.inc.
Section::clearModuleCache | ( | ) |
Definition at line 188 of file section.inc.
Section::Content | ( | $constraint = "" | ) |
Definition at line 80 of file section.inc.
|
static |
Definition at line 95 of file section.inc.
|
static |
Definition at line 145 of file section.inc.
Section::getContent | ( | $identifier | ) |
Definition at line 116 of file section.inc.
Section::getContentManager | ( | ) |
Definition at line 90 of file section.inc.
Section::getDefaultPage | ( | ) |
Returns the path to the default page for this section.
Definition at line 226 of file section.inc.
Section::getDefaultTemplate | ( | ) |
Loads the default template associated with this section.
Definition at line 213 of file section.inc.
Section::getModulesByPosition | ( | $constraint = "ORDER BY position, sort_order" | ) |
Definition at line 156 of file section.inc.
Section::getPermissions | ( | $identifier | ) |
Definition at line 138 of file section.inc.
Section::getPositions | ( | ) |
Retrieves an array of the position names defined in the template for this page.
Definition at line 236 of file section.inc.
Section::getRole | ( | $identifier | ) |
Definition at line 131 of file section.inc.
Section::getSectionURL | ( | ) |
Section::getTemplateFile | ( | $identifier | ) |
Definition at line 124 of file section.inc.
Section::Modules | ( | $constraint = "ORDER BY position, sort_order" | ) |
Definition at line 75 of file section.inc.
Section::SectionModuleXrefs | ( | $constraint = "ORDER BY position, sort_order" | ) |
Definition at line 70 of file section.inc.
Section::Site | ( | ) |
Definition at line 85 of file section.inc.
Section::$_content = array() |
Definition at line 114 of file section.inc.
Section::$fields |
Definition at line 51 of file section.inc.
Section::$primary_key = "section_id" |
Definition at line 46 of file section.inc.
Section::$relations |
Definition at line 64 of file section.inc.
Section::$table = "section" |
Definition at line 47 of file section.inc.