프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$flash_messages | array | ||
$form_contact | Application_Form_Contact | ||
$login_action | array | dummy login action |
메소드 | 설명 | |
---|---|---|
TranslateProperty ( string $p_property ) : string | Processes a property name; returns a valid property name. | |
__construct ( ) | Class constructor | |
__get ( string $p_element ) : mix | Overloaded method call to give access to context properties. | |
__set ( string $p_element, string $p_value ) : mix | Overloade method call to set the context properties. | |
allPropertiesNames ( ) : array | Returns the list of all properties | |
current_list_id ( ) : integer | Returns the corresponding id for the current list | |
getCurrentListName ( ) : string | Returns the list name of the current list. | |
getListName ( $list ) | fn setCurrentList | |
getSystemPreference ( string $preferenceName, $default = null ) : mixed | Check system preferences in smarty | |
getUserCount ( ) : integer | Get active user count | |
has_object ( string $p_object ) | Returns true if the given object exists. | |
has_property ( string $p_property ) | Returns true if the given property exists. | |
isPluginEnabled ( string $pluginName ) : boolean | Check if plugin is installed and enabled | |
list_id_prefix ( $p_className ) | ||
next_list_id ( string $p_className ) | Returns the corresponding id for a new list of the given type | |
next_list_start ( string $p_className ) | Returns the corresponding list start index for a new list of the given type | |
resetCurrentList ( ) : void | Resets the current list. | |
restoreContext ( ) | Restores the global context. | |
saveCurrentContext ( array $p_propertiesList = [] ) : void | Saves the current context objects. | |
setCurrentList ( object &$p_list, array $p_savePropertiesList = [] ) : void | Sets the current list. | |
setPreviewMode ( $status = true ) | Set preview mode for context. |
메소드 | 설명 | |
---|---|---|
ObjectType ( string $p_property ) | Returns the name corresponding to the given property; null if the property is not an object. | |
getArticle ( ) : MetaIssue | Returns the article defined in the current context; if it wasn't defined it initializes the article by an empty object. | |
getIssue ( ) : MetaIssue | Returns the issue defined in the current context; if it wasn't defined it initializes the issue by an empty object. | |
getLanguage ( ) : MetaIssue | Returns the language defined in the current context; if it wasn't defined it initializes the language by an empty object. | |
getPublication ( ) : MetaPublication | Returns the publication defined in the current context; if it wasn't defined it initializes the publication by an empty object. | |
getSection ( ) : MetaIssue | Returns the section defined in the current context; if it wasn't defined it initializes the section by an empty object. | |
trigger_invalid_object_error ( string $p_object ) | Triggers an invalid object error. | |
trigger_invalid_property_error ( string $p_property, $p_smarty = null ) | Triggers an invalid property error. | |
trigger_invalid_register_error ( $p_message ) |
메소드 | 설명 | |
---|---|---|
GetListObjectName ( string $p_listClassName ) : string | Returns the object name from the list class name. | |
RestoreProperties ( ) | Restores the last list of properties from the stack | |
SaveProperties ( array $p_propertiesList ) : void | Saves a given list of properties | |
createObject ( string $p_objectType ) : object | Creates an object of the given type. Returns the created object. | |
registerListObject ( array $listObject ) | Register an list object | |
registerObjectType ( array $p_objectType ) | Register an new object type | |
setArticleHandler ( MetaArticle $p_oldArticle, MetaArticle $p_newArticle ) | Handler for the article change event. | |
setCommentHandler ( MetaComment $p_oldComment, MetaComment $p_newComment ) | Handler for the comment change event. | |
setIssueHandler ( MetaIssue $p_oldIssue, MetaIssue $p_newIssue ) | Handler for the issue change event. | |
setLanguageHandler ( MetaLanguage $p_oldLanguage, MetaLanguage $p_newLanguage ) | Handler for the language change event. | |
setPublicationHandler ( MetaPublication $p_oldPublication, MetaPublication $p_newPublication ) | Handler for the publication change event. | |
setSectionHandler ( MetaSection $p_oldSection, MetaSection $p_newSection ) | Handler for the section change event. | |
setSubtitleHandler ( MetaSubtitle $p_oldSubtitle, MetaSubtitle $p_newSubtitle ) | ||
setTopicHandler ( MetaTopic $p_oldTopic, MetaTopic $p_newTopic ) |
protected static ObjectType ( string $p_property ) | ||
$p_property | string |
public static TranslateProperty ( string $p_property ) : string | ||
$p_property | string | |
리턴 | string |
public allPropertiesNames ( ) : array | ||
리턴 | array |
public current_list_id ( ) : integer | ||
리턴 | integer | - the current list identifier |
final protected getArticle ( ) : MetaIssue | ||
리턴 | MetaIssue |
public getCurrentListName ( ) : string | ||
리턴 | string | The name of the list |
final protected getIssue ( ) : MetaIssue | ||
리턴 | MetaIssue |
final protected getLanguage ( ) : MetaIssue | ||
리턴 | MetaIssue |
final protected getPublication ( ) : MetaPublication | ||
리턴 | MetaPublication |
final protected getSection ( ) : MetaIssue | ||
리턴 | MetaIssue |
public getSystemPreference ( string $preferenceName, $default = null ) : mixed | ||
$preferenceName | string | Systempreferences machine name |
리턴 | mixed |
public has_object ( string $p_object ) | ||
$p_object | string |
public has_property ( string $p_property ) | ||
$p_property | string |
public isPluginEnabled ( string $pluginName ) : boolean | ||
$pluginName | string | Plugin name ex. "vendor/plugin-name" |
리턴 | boolean |
public next_list_id ( string $p_className ) | ||
$p_className | string |
public next_list_start ( string $p_className ) | ||
$p_className | string |
public saveCurrentContext ( array $p_propertiesList = [] ) : void | ||
$p_propertiesList | array | |
리턴 | void |
public setPreviewMode ( $status = true ) |
final protected trigger_invalid_object_error ( string $p_object ) | ||
$p_object | string | - object name |
final protected trigger_invalid_property_error ( string $p_property, $p_smarty = null ) | ||
$p_property | string | - property name |
final protected trigger_invalid_register_error ( $p_message ) |