CaMykS  1.0-20231201
Variables
Admin_GenericDirectoryManagerCategoryListParams.php.inc File Reference

Variables

global $camyks
 Admin_GenericDirectoryManager Module category list parameters. More...
 
$this categoryStatusList = $this->get_categoriesStatusList(true)
 
$this editCategoryLink = $this->get_adminLink(array('mode'=>'edit_category', 'category_id'=>'%s'))
 
$this deleteCategoryLink = 'javascript:adminengine_confirmRedirect(deleteCategoryUrl+%s, deleteCategoryMessage);'
 
$this categoryListParams = array('name'=>'categoryList', 'useSession'=>true, 'object'=>&$this->categoryItem, 'language'=>$this->language)
 
$this categoryListParams ['headhiddens'] = array('openTab'=>'categories')
 
$this categoryListParams ['headselectors']
 
$this categoryListParams ['sort'] = array('allowed'=>false, 'default'=>'title', 'defaultway'=>'')
 
$this categoryListParams ['listlinks'] = array('new'=>array('title'=>$this->get_translation('addnewcategory'), 'icon'=>'plus', 'url_value'=>vsprintf($this->editCategoryLink, 0), 'titlecolumn'=>'title', 'buttoncolumn'=>'edit'))
 
$this categoryListParams ['listcolumns']
 

Variable Documentation

◆ $camyks

global $camyks

Admin_GenericDirectoryManager Module category list parameters.

Plugin, Module Library

Author
CaMykS Team camyk.nosp@m.s.co.nosp@m.ntact.nosp@m.@gma.nosp@m.il.co.nosp@m.m
Version
1.0.1
Date
Creation: Jul 2010
Modification: Jan 2021
Note
This program is distributed as is - WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

◆ categoryStatusList

$this categoryStatusList = $this->get_categoriesStatusList(true)

◆ editCategoryLink

$this editCategoryLink = $this->get_adminLink(array('mode'=>'edit_category', 'category_id'=>'%s'))

◆ deleteCategoryLink

$this deleteCategoryLink = 'javascript:adminengine_confirmRedirect(deleteCategoryUrl+%s, deleteCategoryMessage);'

◆ categoryListParams [1/6]

$this categoryListParams = array('name'=>'categoryList', 'useSession'=>true, 'object'=>&$this->categoryItem, 'language'=>$this->language)

◆ categoryListParams [2/6]

$this categoryListParams[ 'headhiddens'] = array('openTab'=>'categories')

◆ categoryListParams [3/6]

$this categoryListParams[ 'headselectors']
Initial value:
= array(
'page' => array('title'=>$camyks->get_translation('formitem_page'), 'itemtype'=>'page'),
'status' => array('title'=>$camyks->get_translation('formitem_status'), 'itemtype'=>'select', 'values'=>$this->categoryStatusList, 'default'=>'-1'),
)
global $camyks
Admin_GenericDirectoryManager Module category list parameters.
Definition: Admin_GenericDirectoryManagerCategoryListParams.php.inc:13

◆ categoryListParams [4/6]

$this categoryListParams[ 'sort'] = array('allowed'=>false, 'default'=>'title', 'defaultway'=>'')

◆ categoryListParams [5/6]

$this categoryListParams[ 'listlinks'] = array('new'=>array('title'=>$this->get_translation('addnewcategory'), 'icon'=>'plus', 'url_value'=>vsprintf($this->editCategoryLink, 0), 'titlecolumn'=>'title', 'buttoncolumn'=>'edit'))

◆ categoryListParams [6/6]

$this categoryListParams[ 'listcolumns']
Initial value:
= array(
'status' => array('title'=>' ', 'columntype'=>'boolean', 'mode'=>'pict', 'style'=>'width:12px;'),
'title' => array('title'=>$camyks->get_translation('title'),'columntype'=>'text'),
'contacts' => array('title'=>$this->get_translation('contacts'), 'columntype'=>'text'),
'edit' => array('title'=>' ', 'columntype'=>'button', 'icon'=>'edit', 'url_value'=>$this->editCategoryLink, 'style'=>'width:12px;', 'url_title'=>$this->get_translation('editcategory')),
'delete' => array('title'=>' ', 'columntype'=>'button', 'icon'=>'cross', 'url_value'=>$this->deleteCategoryLink, 'style'=>'width:12px;', 'url_title'=>$this->get_translation('deletecategory'), 'condition'=>'is_deletable'),
)
$this deleteCategoryLink
Definition: Admin_GenericDirectoryManagerCategoryListParams.php.inc:20
$this editCategoryLink
Definition: Admin_GenericDirectoryManagerCategoryListParams.php.inc:19