Public Member Functions | |
BaseActions () | |
parse_include ($filename) | |
parse_phpinclude ($filename) | |
parse_parsedinclude ($filename) | |
getIncludeFileName ($filename) | |
parse_skinfile ($filename) | |
parse_set ($property, $value) | |
_addIfCondition ($condition) | |
_updateTopIfCondition () | |
_addIfExecute () | |
_updateIfExecute ($condition) | |
_getTopIfCondition () | |
setHighlight ($highlight) | |
highlight (&$data) | |
parse_if () | |
parse_else () | |
parse_elseif () | |
parse_ifnot () | |
parse_elseifnot () | |
parse_endif () | |
Public Attributes | |
$level | |
$if_conditions | |
$if_execute | |
$if_currentlevel | |
$strHighlight | |
$aHighlight | |
$parser |
It should never be used on it's own
http://nucleuscms.org/license.txt GNU General Public License Copyright (C) 2002-2007 The Nucleus Group
Definition at line 24 of file BaseActions.php.
BaseActions::BaseActions | ( | ) |
Definition at line 51 of file BaseActions.php.
Referenced by ACTIONS::ACTIONS(), BODYACTIONS::BODYACTIONS(), COMMENTACTIONS::COMMENTACTIONS(), ITEMACTIONS::ITEMACTIONS(), and PAGEFACTORY::PAGEFACTORY().
BaseActions::parse_include | ( | $ | filename | ) |
BaseActions::parse_phpinclude | ( | $ | filename | ) |
BaseActions::parse_parsedinclude | ( | $ | filename | ) |
Definition at line 76 of file BaseActions.php.
References getIncludeFileName().
Referenced by ACTIONS::doForm().
BaseActions::getIncludeFileName | ( | $ | filename | ) |
Returns the correct location of the file to be included, according to parser properties
IF IncludeMode = 'skindir' => use skindir
Definition at line 107 of file BaseActions.php.
References $DIR_SKINS, and PARSER::getProperty().
Referenced by parse_include(), parse_parsedinclude(), and parse_phpinclude().
BaseActions::parse_skinfile | ( | $ | filename | ) |
Inserts an url relative to the skindir (useful when doing import/export)
e.g. <skinfile(default/myfile.sth)>
Definition at line 130 of file BaseActions.php.
References $CONF, and PARSER::getProperty().
BaseActions::parse_set | ( | $ | property, | |
$ | value | |||
) |
Sets a property for the parser
Definition at line 139 of file BaseActions.php.
References PARSER::setProperty().
BaseActions::_addIfCondition | ( | $ | condition | ) |
Helper function: add if condition
Definition at line 146 of file BaseActions.php.
References _updateTopIfCondition().
Referenced by parse_else(), parse_elseif(), parse_elseifnot(), parse_if(), PAGEFACTORY::parse_ifblogsetting(), PAGEFACTORY::parse_ifitemproperty(), and parse_ifnot().
BaseActions::_updateTopIfCondition | ( | ) |
BaseActions::_addIfExecute | ( | ) |
Helper function for elseif / elseifnot
Definition at line 165 of file BaseActions.php.
Referenced by parse_if(), and parse_ifnot().
BaseActions::_updateIfExecute | ( | $ | condition | ) |
Helper function for elseif / elseifnot
string | condition to be fullfilled |
Definition at line 173 of file BaseActions.php.
Referenced by parse_else(), parse_elseif(), and parse_elseifnot().
BaseActions::_getTopIfCondition | ( | ) |
returns the currently top if condition
Definition at line 181 of file BaseActions.php.
BaseActions::setHighlight | ( | $ | highlight | ) |
Sets the search terms to be highlighted
$highlight | A series of search terms |
Definition at line 191 of file BaseActions.php.
References $highlight, and parseHighlight().
BaseActions::highlight | ( | &$ | data | ) |
Applies the highlight to the given piece of text
&$data | Data that needs to be highlighted |
Definition at line 205 of file BaseActions.php.
Referenced by ITEMACTIONS::highlightAndParse(), and COMMENTACTIONS::parse_body().
BaseActions::parse_if | ( | ) |
Parses <if%> statements
Definition at line 215 of file BaseActions.php.
References _addIfCondition(), and _addIfExecute().
Referenced by ACTIONS::parse_ifcat().
BaseActions::parse_else | ( | ) |
Parses <else%> statements
Definition at line 226 of file BaseActions.php.
References _addIfCondition(), and _updateIfExecute().
BaseActions::parse_elseif | ( | ) |
Parses <elseif%> statements
Definition at line 245 of file BaseActions.php.
References _addIfCondition(), and _updateIfExecute().
BaseActions::parse_ifnot | ( | ) |
Parses <ifnot%> statements
Definition at line 266 of file BaseActions.php.
References _addIfCondition(), and _addIfExecute().
BaseActions::parse_elseifnot | ( | ) |
Parses <elseifnot%> statements
Definition at line 277 of file BaseActions.php.
References _addIfCondition(), and _updateIfExecute().
BaseActions::parse_endif | ( | ) |
Ends a conditional if-block see e.g. ifcat (BLOG), ifblogsetting (PAGEFACTORY)
Definition at line 299 of file BaseActions.php.
References _updateTopIfCondition().
BaseActions::$level |
Definition at line 27 of file BaseActions.php.
BaseActions::$if_conditions |
Definition at line 31 of file BaseActions.php.
BaseActions::$if_execute |
Definition at line 35 of file BaseActions.php.
BaseActions::$if_currentlevel |
Definition at line 39 of file BaseActions.php.
BaseActions::$strHighlight |
Definition at line 42 of file BaseActions.php.
BaseActions::$aHighlight |
Definition at line 46 of file BaseActions.php.
BaseActions::$parser |
Definition at line 49 of file BaseActions.php.
Referenced by PAGEFACTORY::createForm(), ITEMACTIONS::highlightAndParse(), ACTIONS::parse_comments(), ITEMACTIONS::setParser(), COMMENTACTIONS::setParser(), and ACTIONS::setParser().