This class represents one individual section in translatable page. More...
Public Member Functions | |
getText () | |
Returns section text unmodified. | |
getTextForTrans () | |
Returns section text with variables replaced. | |
getMarkedText () | |
Returns the section text with updated or added section marker. | |
getOldText () | |
Returns oldtext, or current text if not available. | |
getVariables () | |
Returns array of variables defined on this section. | |
Public Attributes | |
$id | |
$name | |
$text | |
$type | |
$oldText |
This class represents one individual section in translatable page.
Definition at line 16 of file TPSection.php.
TPSection::getMarkedText | ( | ) |
Returns the section text with updated or added section marker.
Definition at line 50 of file TPSection.php.
TPSection::getOldText | ( | ) |
Returns oldtext, or current text if not available.
Definition at line 70 of file TPSection.php.
TPSection::getText | ( | ) |
Returns section text unmodified.
Definition at line 32 of file TPSection.php.
TPSection::getTextForTrans | ( | ) |
Returns section text with variables replaced.
Definition at line 40 of file TPSection.php.
TPSection::getVariables | ( | ) |
Returns array of variables defined on this section.
Definition at line 79 of file TPSection.php.
TPSection::$id |
Definition at line 18 of file TPSection.php.
Referenced by getMarkedText().
TPSection::$name |
Definition at line 20 of file TPSection.php.
TPSection::$oldText |
Definition at line 26 of file TPSection.php.
TPSection::$text |
Definition at line 22 of file TPSection.php.
Referenced by getMarkedText().
TPSection::$type |
Definition at line 24 of file TPSection.php.