
Public Member Functions | |
| PAGEFACTORY ($blogid) | |
| createAddForm ($type, $contents=array()) | |
| createEditForm ($type, $contents) | |
| createForm ($contents) | |
| getTemplateFor ($type) | |
| parse_categories ($startidx=0) | |
| parse_blogid () | |
| parse_blogname () | |
| parse_bloglink () | |
| parse_authorname () | |
| parse_title () | |
| parse_ifblogsetting ($name, $value=1) | |
| parse_ifitemproperty ($name, $value=1) | |
| parse_helplink ($topic) | |
| parse_currenttime ($what) | |
| parse_itemtime ($what) | |
| parse_init () | |
| parse_extrahead () | |
| parse_text ($which) | |
| parse_contents ($which) | |
| parse_checkedonval ($value, $name) | |
| parse_jsinput ($which) | |
| parse_jsbuttonbar ($extrabuttons="") | |
| parse_pluginextras () | |
| parse_itemoptions () | |
| parse_ticket () | |
| _jsbutton ($type, $code, $tooltip) | |
| _jsbuttonspacer () | |
Public Attributes | |
| $blog | |
| $actions | |
| $allowedTypes | |
| $type | |
| $method | |
| $variables | |
Definition at line 24 of file PAGEFACTORY.php.
| PAGEFACTORY::PAGEFACTORY | ( | $ | blogid | ) |
creates a new PAGEFACTORY object
Definition at line 45 of file PAGEFACTORY.php.
References $blogid, $manager, and BaseActions::BaseActions().
| PAGEFACTORY::createAddForm | ( | $ | type, | |
| $ | contents = array() | |||
| ) |
creates a "add item" form for a given type of page
| type | 'admin' or 'bookmarklet' |
Definition at line 94 of file PAGEFACTORY.php.
References $manager, $type, and createForm().
| PAGEFACTORY::createEditForm | ( | $ | type, | |
| $ | contents | |||
| ) |
creates a "add item" form for a given type of page
| type | 'admin' or 'bookmarklet' | |
| contents | An associative array 'author' => author '' => |
Definition at line 116 of file PAGEFACTORY.php.
References $type, and createForm().
| PAGEFACTORY::createForm | ( | $ | contents | ) |
(private) creates a form for a given type of page
Definition at line 127 of file PAGEFACTORY.php.
References BaseActions::$parser, and getTemplateFor().
Referenced by createAddForm(), and createEditForm().
| PAGEFACTORY::getTemplateFor | ( | $ | type | ) |
returns an appropriate template
Definition at line 142 of file PAGEFACTORY.php.
References $DIR_LIBS.
Referenced by createForm().
| PAGEFACTORY::parse_categories | ( | $ | startidx = 0 |
) |
| PAGEFACTORY::parse_blogid | ( | ) |
Definition at line 173 of file PAGEFACTORY.php.
| PAGEFACTORY::parse_blogname | ( | ) |
Definition at line 177 of file PAGEFACTORY.php.
| PAGEFACTORY::parse_bloglink | ( | ) |
Definition at line 181 of file PAGEFACTORY.php.
| PAGEFACTORY::parse_authorname | ( | ) |
| PAGEFACTORY::parse_title | ( | ) |
Definition at line 191 of file PAGEFACTORY.php.
| PAGEFACTORY::parse_ifblogsetting | ( | $ | name, | |
| $ | value = 1 | |||
| ) |
Indicates the start of a conditional block of data. It will be added to the output only if the blogsetting with the given name equals the given value (default for value = 1 = true)
the name of the blogsetting is the column name in the nucleus_blog table
the conditional block ends with an <endif> var
Definition at line 204 of file PAGEFACTORY.php.
References BaseActions::_addIfCondition().
| PAGEFACTORY::parse_ifitemproperty | ( | $ | name, | |
| $ | value = 1 | |||
| ) |
| PAGEFACTORY::parse_helplink | ( | $ | topic | ) |
| PAGEFACTORY::parse_currenttime | ( | $ | what | ) |
Definition at line 217 of file PAGEFACTORY.php.
| PAGEFACTORY::parse_itemtime | ( | $ | what | ) |
Definition at line 223 of file PAGEFACTORY.php.
| PAGEFACTORY::parse_init | ( | ) |
Definition at line 229 of file PAGEFACTORY.php.
| PAGEFACTORY::parse_extrahead | ( | ) |
| PAGEFACTORY::parse_text | ( | $ | which | ) |
Definition at line 251 of file PAGEFACTORY.php.
| PAGEFACTORY::parse_contents | ( | $ | which | ) |
Definition at line 261 of file PAGEFACTORY.php.
| PAGEFACTORY::parse_checkedonval | ( | $ | value, | |
| $ | name | |||
| ) |
Definition at line 265 of file PAGEFACTORY.php.
| PAGEFACTORY::parse_jsinput | ( | $ | which | ) |
| PAGEFACTORY::parse_jsbuttonbar | ( | $ | extrabuttons = "" |
) |
Definition at line 299 of file PAGEFACTORY.php.
References $CONF, _jsbutton(), and _jsbuttonspacer().
| PAGEFACTORY::parse_pluginextras | ( | ) |
Allows plugins to add their own custom fields
Definition at line 376 of file PAGEFACTORY.php.
References $manager.
| PAGEFACTORY::parse_itemoptions | ( | ) |
Adds the itemOptions of a plugin to a page
Definition at line 403 of file PAGEFACTORY.php.
References $itemid, and ADMIN::_insertPluginOptions().
| PAGEFACTORY::parse_ticket | ( | ) |
| PAGEFACTORY::_jsbutton | ( | $ | type, | |
| $ | code, | |||
| $ | tooltip | |||
| ) |
convenience method
Definition at line 416 of file PAGEFACTORY.php.
Referenced by parse_jsbuttonbar().
| PAGEFACTORY::_jsbuttonspacer | ( | ) |
| PAGEFACTORY::$blog |
Definition at line 27 of file PAGEFACTORY.php.
| PAGEFACTORY::$actions |
Definition at line 30 of file PAGEFACTORY.php.
| PAGEFACTORY::$allowedTypes |
Definition at line 33 of file PAGEFACTORY.php.
| PAGEFACTORY::$type |
| PAGEFACTORY::$method |
Definition at line 37 of file PAGEFACTORY.php.
| PAGEFACTORY::$variables |
Definition at line 40 of file PAGEFACTORY.php.
1.5.5