
Public Member Functions | |
| __construct ($encoding='pass') | |
| read () | |
| fetch ($section=false) | |
| assign_section ($csection) | |
| section_assign ($csection) | |
| get_content () | |
| display () | |
| __destruct () | |
Protected Attributes | |
| $sections = null | |
Private Member Functions | |
| _parse_sections () | |
| _sreplace () | |
| section::__construct | ( | $ | encoding = 'pass' |
) |
| section::__destruct | ( | ) |
| section::read | ( | ) |
| section::_parse_sections | ( | ) | [private] |
| section::fetch | ( | $ | section = false |
) |
| section::_sreplace | ( | ) | [private] |
| section::assign_section | ( | $ | csection | ) |
assign_section
Will assign a section.
Will die if there is no such section.
Calls the parent's .display methode
This will echo out the section given
so do not call this if you simply wish
to fetch a section.
Example:
$tpl->assign_section('SectionName'); \
| string | $section The section's name |
Implements iSection.
| section::section_assign | ( | $ | csection | ) |
| section::get_content | ( | ) |
| section::display | ( | ) |
section::$sections = null [protected] |
1.5.3