Public Attributes | |
$useUserLayoutTemp = null | |
Public Attributes inherited from ModuleObject | |
$mid = NULL | |
string to represent run-time instance of Module (XE Module) More... | |
$module = NULL | |
Class name of Xe Module that is identified by mid. More... | |
$module_srl = NULL | |
integer value to represent a run-time instance of Module (XE Module) More... | |
$module_info = NULL | |
an object containing the module information More... | |
$origin_module_info = NULL | |
$xml_info = NULL | |
an object containing the module description extracted from XML file More... | |
$module_path = NULL | |
a path to directory where module source code resides More... | |
$act = NULL | |
a string value to contain the action name More... | |
$template_path = NULL | |
a path of directory where template files reside More... | |
$template_file = NULL | |
name of template file More... | |
$layout_path = '' | |
a path of directory where layout files reside More... | |
$layout_file = '' | |
name of layout file More... | |
$edited_layout_file = '' | |
name of temporary layout files that is modified in an admin mode More... | |
$stop_proc = FALSE | |
a flag to indicating whether to stop the execution of code. More... | |
$module_config = NULL | |
$ajaxRequestMethod = array('XMLRPC', 'JSON') | |
$gzhandler_enable = TRUE | |
Public Attributes inherited from BaseObject | |
$error = 0 | |
$message = 'success' | |
$variables = array() | |
$httpStatusCode = NULL | |
Definition at line 9 of file layout.model.php.
layoutModel::_getInstalledLayoutDirectories | ( | $layoutType = 'P' | ) |
Get list of layouts directory
string | $layoutType | (P : PC, M : Mobile) |
Definition at line 411 of file layout.model.php.
layoutModel::_getUserLayoutFaceOffCss | ( | $layout_srl | ) |
Import faceoff css from css module handler
int | $layout_srl |
Definition at line 810 of file layout.model.php.
layoutModel::doActivateFaceOff | ( | & | $layout_info | ) |
faceOff related services for the operation run out
object | $layout_info |
Definition at line 1016 of file layout.model.php.
layoutModel::getDefaultLayoutCss | ( | $layout_name | ) |
default layout css to prevent arbitrary changes by a user
string | $layout_name |
Definition at line 936 of file layout.model.php.
layoutModel::getDefaultLayoutHtml | ( | $layout_name | ) |
default layout html to prevent arbitrary changes by a user
string | $layout_name |
Definition at line 926 of file layout.model.php.
layoutModel::getDefaultLayoutIni | ( | $layout_name | ) |
default layout ini to prevent arbitrary changes by a user
string | $layout_name |
Definition at line 916 of file layout.model.php.
layoutModel::getDefaultLayoutPath | ( | ) |
default layout path to prevent arbitrary changes by a user
Definition at line 946 of file layout.model.php.
layoutModel::getDownloadedLayoutList | ( | $layout_type = "P" , |
|
$withAutoinstallInfo = false |
|||
) |
Get a type and information of the layout A type of downloaded layout
string | $layout_type | (P : PC, M : Mobile) |
boolean | $withAutoinstallInfo |
Definition at line 322 of file layout.model.php.
layoutModel::getInstalledLayoutCount | ( | $layoutType = 'P' | ) |
Get a count of layout
string | $layoutType | (P : PC, M : Mobile) |
Definition at line 400 of file layout.model.php.
layoutModel::getLayout | ( | $layout_srl | ) |
Get one of layout information created in the DB Return DB info + XML info of the generated layout
int | $layout_srl |
Definition at line 259 of file layout.model.php.
layoutModel::getLayoutCache | ( | $layout_name, | |
$lang_type, | |||
$layout_type = 'P' |
|||
) |
layout cache
int | $layout_srl | |
string | $lang_type |
Definition at line 899 of file layout.model.php.
layoutModel::getLayoutInfo | ( | $layout, | |
$info = null , |
|||
$layout_type = "P" |
|||
) |
Get information by reading conf/info.xml in the module It uses caching to reduce time for xml parsing ..
string | $layout | |
object | $info | |
string | $layoutType | (P : PC, M : Mobile) |
Definition at line 441 of file layout.model.php.
layoutModel::getLayoutInstanceList | ( | $siteSrl = 0 , |
|
$layoutType = 'P' , |
|||
$layout = null , |
|||
$columnList = array() |
|||
) |
Get layout instance list
int | $siteSrl | |
string | $layoutType | (P : PC, M : Mobile) |
string | $layout | name of layout |
array | $columnList |
Definition at line 121 of file layout.model.php.
layoutModel::getLayoutInstanceListForJSONP | ( | ) |
Get the list layout instance with thumbnail link. for setting design.
Definition at line 75 of file layout.model.php.
layoutModel::getLayoutList | ( | $site_srl = 0 , |
|
$layout_type = "P" , |
|||
$columnList = array() |
|||
) |
Get a layout list created in the DB If you found a new list, it means that the layout list is inserted to the DB
int | $site_srl | |
string | $layout_type | (P : PC, M : Mobile) |
array | $columnList |
Definition at line 34 of file layout.model.php.
layoutModel::getLayoutPath | ( | $layout_name = "" , |
|
$layout_type = "P" |
|||
) |
Get a layout path
string | $layout_name | |
string | $layout_type | (P : PC, M : Mobile) |
Definition at line 292 of file layout.model.php.
layoutModel::getLayoutRawData | ( | $layout_srl, | |
$columnList = array() |
|||
) |
Definition at line 273 of file layout.model.php.
layoutModel::getUserLayoutCache | ( | $layout_srl, | |
$lang_type | |||
) |
user layout cache TODO It may need to remove the file itself
int | $layout_srl | |
string | $lang_type |
Definition at line 888 of file layout.model.php.
layoutModel::getUserLayoutCss | ( | $layout_srl | ) |
css which is set by an administrator on the layout setting page
int | $layout_srl |
Definition at line 789 of file layout.model.php.
layoutModel::getUserLayoutFaceOffCss | ( | $layout_srl | ) |
Import faceoff css from css module handler
int | $layout_srl |
Definition at line 799 of file layout.model.php.
layoutModel::getUserLayoutFileList | ( | $layout_srl | ) |
Saved file list for User Layout
int | $layout_srl |
Definition at line 991 of file layout.model.php.
layoutModel::getUserLayoutHtml | ( | $layout_srl | ) |
user layout html
int | $layout_srl |
Definition at line 830 of file layout.model.php.
layoutModel::getUserLayoutImageList | ( | $layout_srl | ) |
Return a list of images which are uploaded on the layout setting page
int | $layout_srl |
Definition at line 742 of file layout.model.php.
layoutModel::getUserLayoutImagePath | ( | $layout_srl | ) |
get user layout image path
int | $layout_srl |
Definition at line 779 of file layout.model.php.
layoutModel::getUserLayoutIni | ( | $layout_srl | ) |
user layout ini
int | $layout_srl |
Definition at line 858 of file layout.model.php.
layoutModel::getUserLayoutIniConfig | ( | $layout_srl, | |
$layout_name = null |
|||
) |
Get ini configurations and make them an array.
int | $layout_srl | |
string | $layout_name |
Definition at line 753 of file layout.model.php.
layoutModel::getUserLayoutPath | ( | $layout_srl | ) |
get user layout path
int | $layout_srl |
Definition at line 769 of file layout.model.php.
layoutModel::getUserLayoutTempFaceOffCss | ( | $layout_srl | ) |
get user layout tmp html
int | $layout_srl |
Definition at line 820 of file layout.model.php.
layoutModel::getUserLayoutTempFileList | ( | $layout_srl | ) |
Temp file list for User Layout
int | $layout_srl |
Definition at line 977 of file layout.model.php.
layoutModel::getUserLayoutTempHtml | ( | $layout_srl | ) |
user layout tmp html
int | $layout_srl |
Definition at line 848 of file layout.model.php.
layoutModel::getUserLayoutTempIni | ( | $layout_srl | ) |
user layout tmp ini
int | $layout_srl |
Definition at line 876 of file layout.model.php.
layoutModel::init | ( | ) |
layoutModel::isExistsLayoutFile | ( | $layout, | |
$layoutType | |||
) |
If exists layout file returns true
string | $layout | layout name |
string | $layoutType | P or M |
Definition at line 226 of file layout.model.php.
layoutModel::setUseUserLayoutTemp | ( | $flag = 'temp' | ) |
Set user layout as temporary save mode
string | $flag | (default 'temp') |
Definition at line 967 of file layout.model.php.
layoutModel::sortLayoutByTitle | ( | $a, | |
$b | |||
) |
Sort layout by title
Definition at line 372 of file layout.model.php.
layoutModel::useDefaultLayout | ( | $layout_name | ) |
faceoff is
string | $layout_name |
Definition at line 956 of file layout.model.php.
layoutModel::$useUserLayoutTemp = null |
Definition at line 15 of file layout.model.php.