SCHLIX\interface_cmsApplication_Basic

Inherits cmsApplication_Basic, interface_cmsApplication_List

Public Methods

public boolisFrontendRuntimeDisabled()
Returns true if this app is not meant to be run in the frontend
public boolhasVersioning()
Returns true if versioning is enabled
public redirectToOtherAction(string $action, string $protocol=OPT_REDIRECT_DEFAULT)
Redirects to internal action, e.g. /action/myaction. Protocol can be OPT_REDIRECT_DEFAULT or OPT_REDIRECT_HTTPS or OPT_REDIRECT_HTTP
public arraygetBreadCrumbsArray()
Returns an array of HTML link of breadcrumbs
public stringdisplayBreadCrumbs(string $separator=' »')
Displays the breadcrumb
public mixedgetConfig(string $key, string $default_value=FALSE)
Returns a config value from key for this app $SystemConfig $CurrentUser
public mixedsetConfig(string $key, string $value)
Set a config value for this app $SystemConfig
public stringgetApplicationName()
Returns the application name
public stringgetApplicationDescription()
Returns the application description from database. If it's empty, then the default application description set in the class will be used instead
public stringgetOriginalApplicationDescription()
Returns the application description not from the database
public stringprocessDataOutputWithMacro(array $data, string $function_name, array $extra_info=false)
Process text output with macro. Runs all macros $Macros
public displayPageTitle()
Outputs the page title
public displayPageMetaDescription()
Outputs the page meta description
public displayPageMetaKeywords()
Outputs the page metta keywords
public stringgetPageMetaDescription()
Returns the page meta description
public stringgetPageMetaKeywords()
Returns the page meta keywords
public setPageMetaDescription(string $meta_description)
Set the page meta description
public setPageMetaKeywords(string $meta_keywords)
Set the page meta keywords
public viewMainPage()
Frontend: view the main page. Usually loads view.main.template.php
public arrayinterpretFriendlyURL(string $urlpath)
Returns an array of command, given $urlpath.
public stringcreateFriendlyURL(string $str)
create SEO friendly URL. Format is action={...}¶m1={....}¶m2={...}
public booleanRun(string $command)
Runs command. If return value is true, then it will be displayed as a full page If return value is false, AJAX method is assumed