-
Notifications
You must be signed in to change notification settings - Fork 35
mod_system_Blocks
Notice: Wiki was automatic generated from project sources as project API documentation. Do not edit manually!
System Block Configuration Object Class
- Class name: mod_system_Blocks
- Namespace:
- Parent class: icms_view_block_Object
const BLOCK_TYPE_SYSTEM = S
const BLOCK_TYPE_MODULE = M
const BLOCK_TYPE_CUSTOM = C
const BLOCK_TYPE_DUPLICATED = K
const BLOCK_TYPE_LEGACY_DUPLICATED = D
const BLOCK_TYPE_LEGACY_CUSTOM = E
const CONTENT_TYPE_HTML = H
const CONTENT_TYPE_PHP = P
const CONTENT_TYPE_AUTO_FORMAT = S
const CONTENT_TYPE_NO_AUTO_FORMAT = T
public array $visiblein = []
Visible areas for block
- Visibility: public
public string name
Name
- Visibility: public
- This property is defined by icms_view_block_Object
public int bid
Block ID
- Visibility: public
- This property is defined by icms_view_block_Object
public int mid
Module ID
- Visibility: public
- This property is defined by icms_view_block_Object
public int func_num
- Visibility: public
- This property is defined by icms_view_block_Object
public string title
Title
- Visibility: public
- This property is defined by icms_view_block_Object
public string content
Content
- Visibility: public
- This property is defined by icms_view_block_Object
public int side
Side
- Visibility: public
- This property is defined by icms_view_block_Object
public int weight
Weight used for sorting positions
- Visibility: public
- This property is defined by icms_view_block_Object
public int visible
Is visible?
- Visibility: public
- This property is defined by icms_view_block_Object
public string block_type
Type
- Visibility: public
- This property is defined by icms_view_block_Object
public string c_type
- Visibility: public
- This property is defined by icms_view_block_Object
public int isactive
Is active?
- Visibility: public
- This property is defined by icms_view_block_Object
public string dirname
Directory name
- Visibility: public
- This property is defined by icms_view_block_Object
public string func_file
Function file
- Visibility: public
- This property is defined by icms_view_block_Object
public string show_func
Show function
- Visibility: public
- This property is defined by icms_view_block_Object
public string edit_func
Edit function
- Visibility: public
- This property is defined by icms_view_block_Object
public string template
Template
- Visibility: public
- This property is defined by icms_view_block_Object
public int bcachetime
Cache time
- Visibility: public
- This property is defined by icms_view_block_Object
public int last_modified
When it was last modified?
- Visibility: public
- This property is defined by icms_view_block_Object
public string options
Options
- Visibility: public
- This property is defined by icms_view_block_Object
mixed icms_view_block_Object::__construct(handler, mixed data)
Constructor for the block object
- Visibility: public
- This method is defined by icms_view_block_Object
- handler mixed
- data mixed
mixed icms_view_block_Object::getVar(mixed name, mixed format)
- Visibility: public
- This method is defined by icms_view_block_Object
- name mixed
- format mixed
mixed mod_system_Blocks::weight()
Custom accesser for weight property
- Visibility: private
mixed mod_system_Blocks::visible()
Custom accessor for visible property
- Visibility: private
mixed mod_system_Blocks::mid()
Custom accessor for mid property
- Visibility: private
mixed mod_system_Blocks::side()
Custom accessor for side property
- Visibility: private
mixed mod_system_Blocks::getBlankLink()
Renders a space in the actions column
- Visibility: public
mixed mod_system_Blocks::getUpActionLink()
Renders a graphic and link to move the block up (lower weight)
- Visibility: public
mixed mod_system_Blocks::getDownActionLink()
Renders a graphic and link to move the block down (increase weight)
- Visibility: public
mixed mod_system_Blocks::getCloneActionLink()
Renders a graphic and link to clone the block
- Visibility: public
mixed mod_system_Blocks::getEditActionLink()
Renders a graphic and link to edit a block
- Visibility: public
mixed mod_system_Blocks::getAdminViewItemLink(mixed onlyUrl)
Overrides parent method
- Visibility: public
- onlyUrl mixed
string mod_system_Blocks::getDeleteItemLink(string onlyUrl, bool withimage, bool userSide)
getDeleteItemLink
Overwrited Method
- Visibility: public
- onlyUrl string
- withimage bool
- userSide bool
\icms_form_Base mod_system_Blocks::getForm(string form_caption, string form_name, bool|string form_action, string submit_button_caption, bool cancel_js_action, bool captcha)
Create the form for this object
- Visibility: public
- form_caption string - <p>Form caption</p>
- form_name string - <p>Form name</p>
- form_action bool|string - <p>Form action</p>
- submit_button_caption string - <p>Submit button caption</p>
- cancel_js_action bool - <p>Cancel JS action?</p>
- captcha bool - <p>Use captcha?</p>
mixed mod_system_Blocks::getSideControl()
- Visibility: public
mixed mod_system_Blocks::getWeightControl()
- Visibility: public
mixed icms_view_block_Object::setVar(mixed name, mixed value, mixed options)
- Visibility: public
- This method is defined by icms_view_block_Object
- name mixed
- value mixed
- options mixed
string|bool icms_view_block_Object::getOptions()
(HTML-) form for setting the options of the block
- Visibility: public
- This method is defined by icms_view_block_Object
array icms_view_block_Object::buildBlock()
Builds the block
- Visibility: public
- This method is defined by icms_view_block_Object
bool icms_view_block_Object::isCustom()
Gets if block is of type custom
For backward compatibility
- Visibility: public
- This method is defined by icms_view_block_Object
array|bool|mixed|string|string[] icms_view_block_Object::getContent(string format, string c_type)
Gets content for block
- Visibility: public
- This method is defined by icms_view_block_Object
- format string - <p>Block type</p>
- c_type string - <p>Content type</p>