|
CaMykS 1.0-20261010
|
AdminItemListViewer input.
Display customisable admin list of objects.
More...
Public Member Functions | |
| __construct ($path_type) | |
| initialise ($params=array()) | |
| display ($panel='list') | |
| set_params ($params=array()) | |
| add_param ($type, $name, $value) | |
Public Member Functions inherited from Input | |
| __construct ($name, $path_type) | |
| Input ($name, $path_type) | |
| initialise ($params=array()) | |
| display () | |
| get_translation ($value, $data=null) | |
| set_selectedLayout ($layout='') | |
Public Member Functions inherited from Plugin | |
| __construct ($name, $plugin_type, $path_type) | |
| get_version () | |
| load_library ($library='') | |
| load_file ($file='') | |
| load_varFile ($file='') | |
| load_engineFile ($file='') | |
| get_engineFileURL ($file='', $path=false) | |
| get_fileURL ($file='', $path=null, $default='') | |
| get_varFileURL ($file='', $path=false, $default='') | |
| get_filePath ($file='') | |
| get_varFilePath ($file='') | |
| add_JSFile ($file) | |
| add_JSEngineFile ($file) | |
| add_JSExternFile ($file) | |
| add_JSScript ($script, $unique=false) | |
| add_JSPreScript ($script, $unique=false) | |
| add_JSWindowEventScript ($event, $script, $unique=false) | |
| add_JSLoadScript ($script, $unique=false) | |
| add_JSUnloadScript ($script, $unique=false) | |
| add_styleFile ($file, $media='', $condition='') | |
| add_styleScript ($css) | |
| add_styleIncludedFile ($file) | |
| add_StyleExternFile ($file, $media='', $condition='') | |
| set_RSSFeed ($title, $url) | |
| add_headerExtra ($content='') | |
| install () | |
| uninstall () | |
| is_installed () | |
| update ($version, $more='') | |
| add_translation ($more='', $lg=null) | |
| get_translation ($value, $data=null) | |
| get_languages () | |
| execute_onCaMykSInitialise () | |
| execute_onCaMykSPageLoad () | |
| execute_onCaMykSBodyOpen () | |
| execute_onCaMykSBodyClose () | |
| execute_onCaMykSAdminPageLoad () | |
| execute_onCaMykSAdminBodyOpen () | |
| execute_onCaMykSAdminBodyClose () | |
| execute_onCaMykSTerminate () | |
| get_requestLink ($params=array()) | |
| get_requestJSLink ($params=array()) | |
| execute_request () | |
| get_varFile ($file) | |
Protected Member Functions | |
| get_itemDisplay ($object, $name, $column, $line) | |
| get_icon ($icon, $mode='std') | |
| is_columnSortable ($column='') | |
| get_listLinkColspans ($link=array()) | |
Protected Member Functions inherited from Plugin | |
| set_redirect ($time, $url='') | |
| add_meta ($name, $content, $method='name') | |
| add_toHtaccess ($content='') | |
| add_dependency ($plugin, $type, $version='1.0', $mandatory=false) | |
| set_dependencies () | |
| register_asSharedObject ($name) | |
| & | get_sharedObject ($name) |
| register_asExtension ($plugin) | |
| get_registeredExtensions () | |
| register_asCaMykSEventHandler ($event) | |
Protected Attributes | |
| $selectorForm | |
| HTML form used for selection in list head. More... | |
| $preRenders = array() | |
| Store pre rendered columns. More... | |
| $icons = array() | |
| Cache of button icon urls. More... | |
Private Member Functions | |
| check_params () | |
| get_selectorValue ($name, $params) | |
| get_selectorDefaultValue ($name, $params) | |
| build_panelsData () | |
| build_listData () | |
| get_columnPosition ($column) | |
Private Attributes | |
| $valide = true | |
| Indicate if given parameters are valid. More... | |
AdminItemListViewer input.
Display customisable admin list of objects.
| AdminItemListViewer::__construct | ( | $path_type | ) |
Class constructor.
| string | $path_type |
| AdminItemListViewer::initialise | ( | $params = array() | ) |
| AdminItemListViewer::display | ( | $panel = 'list' | ) |
Display input.
| string | $panel |
| AdminItemListViewer::set_params | ( | $params = array() | ) |
Set all params.
| array | $params |
| AdminItemListViewer::add_param | ( | $type, | |
| $name, | |||
| $value | |||
| ) |
Add a head param.
| string | $type | |
| string | $name | |
| mixed | $value |
|
private |
Check paramaters.
|
private |
Return header selector value.
| string | $name | |
| array | $params |
|
private |
Return header selector default value.
| string | $name | |
| array | $params |
|
private |
Build every params needed into the display panels.
|
private |
Build list data.
|
protected |
Return object item display.
| object | $object | |
| string | $name | |
| array | $column | |
| integer | $line |
|
protected |
Return generic icon URL.
| string | $icon | |
| string | $mode |
|
protected |
Check if given column can be use as sort.
| string | $column |
|
protected |
Calculate and return list link button position.
| array | $link |
|
private |
Calculate and return column position.
| mixed | $column |
|
protected |
HTML form used for selection in list head.
| array AdminItemListViewer::$objectCount |
Total object count in list.
Object list.
| AdminItemListViewer::$objectList |
|
private |
Indicate if given parameters are valid.
| array AdminItemListViewer::$selectionValues = array() |
Store current selection values.
| AdminItemListViewer::$sortValues = array('column'=>'id', 'way'=>'') |
|
protected |
Store pre rendered columns.
|
protected |
Cache of button icon urls.