![]() |
CMS
Version 3.9
|
Inherits DataItem.
Public Member Functions | |
Section () | |
SectionContentModuleXrefs ($constraint="ORDER BY position, sort_order") | |
getModulesByPosition ($constraint="ORDER BY position, sort_order") | |
getTemplate () | |
Loads the default template associated with this section. More... | |
getPositions () | |
Retrieves an array of the position names defined in the template for this page. More... | |
getBodyClass () | |
Returns any custom body CSS classes defined for this section content. More... | |
addToSection ($section_folder) | |
Add this SectionContent to the specified Section. More... | |
Static Public Member Functions | |
static | getMappedContent ($identifier) |
Public Attributes | |
$primary_key = "section_content_id" | |
$table = "section_content" | |
$fields | |
$relations | |
Definition at line 250 of file section.inc.
SectionContent::addToSection | ( | $section_folder | ) |
Add this SectionContent to the specified Section.
This is intended for newly created SectionContent and will throw an exception if the section_id field is already populated, or if there is already a SectionContent item with the same identifier mapped to the the target section
string | $section_folder | the folder identifying the target Section |
Definition at line 387 of file section.inc.
SectionContent::getBodyClass | ( | ) |
Returns any custom body CSS classes defined for this section content.
Definition at line 374 of file section.inc.
|
static |
Definition at line 324 of file section.inc.
SectionContent::getModulesByPosition | ( | $constraint = "ORDER BY position, sort_order" | ) |
Definition at line 283 of file section.inc.
SectionContent::getPositions | ( | ) |
Retrieves an array of the position names defined in the template for this page.
Definition at line 358 of file section.inc.
SectionContent::getTemplate | ( | ) |
Loads the default template associated with this section.
Definition at line 338 of file section.inc.
SectionContent::Section | ( | ) |
Definition at line 272 of file section.inc.
SectionContent::SectionContentModuleXrefs | ( | $constraint = "ORDER BY position, sort_order" | ) |
Definition at line 278 of file section.inc.
SectionContent::$fields |
Definition at line 257 of file section.inc.
SectionContent::$primary_key = "section_content_id" |
Definition at line 252 of file section.inc.
SectionContent::$relations |
Definition at line 267 of file section.inc.
SectionContent::$table = "section_content" |
Definition at line 253 of file section.inc.