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

Admin_MonitoringUserAgentChecker Module record list parameters. More...

Variables

global $camyks
 
$this recordTypeListAll = $this->get_multiPlatformTypesList()
 
$this recordTypeList = $this->get_singlePlatformTypesList()
 
$this viewRecordLink = $this->get_adminLink(array('mode'=>'view_record', 'record_id'=>'%s'))
 
$this recordStatusList = $this->get_recordStatusList()
 
$this recordStatusIconList = $this->get_recordStatusIconList()
 
$this editRecordLink = $this->get_adminLink(array('mode'=>'edit_record', 'record_id'=>'%s'))
 
$this deleteRecordLink = 'javascript:adminengine_confirmRedirect(deleteRecordUrl+%s, deleteRecordMessage);'
 
$this recordListParams = array('name'=>'recordList', 'useSession'=>true, 'object'=>&$this->recordItem, 'language'=>$this->language)
 
$this recordListParams ['headselectors']
 
$this recordListParams ['sort'] = array('allowed'=>false, 'default'=>'lvisit', 'defaultway'=>'desc')
 
$this recordListParams ['listcolumns']
 
$this recordListParams ['listlinks'] = array('new'=>array('title'=>$this->get_translation('addnewrecord'), 'icon'=>'plus', 'url_value'=>'javascript:adminengine_modalPopupOpen(\'admin_genericuseragentmanager_addpopup\');', 'titlecolumn'=>'user_agent', 'buttoncolumn'=>'edit'))
 
$this recordListParams ['listcolumns']['edit'] = array('title'=>' ', 'columntype'=>'button', 'icon'=>'edit', 'url_value'=>$this->editRecordLink, 'url_title'=>$this->get_translation('editrecord'))
 
$this recordListParams ['listcolumns']['delete'] = array('title'=>' ', 'columntype'=>'button', 'icon'=>'cross', 'url_value'=>$this->deleteRecordLink, 'url_title'=>$this->get_translation('deleterecord'))
 

Detailed Description

Admin_MonitoringUserAgentChecker Module record 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.5
Date
Creation: Dec 2014
Modification: Dec 2019
Note
This program is distributed as is - WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Variable Documentation

◆ $camyks

global $camyks

◆ recordTypeListAll

$this recordTypeListAll = $this->get_multiPlatformTypesList()

◆ recordTypeList

$this recordTypeList = $this->get_singlePlatformTypesList()

◆ viewRecordLink

$this viewRecordLink = $this->get_adminLink(array('mode'=>'view_record', 'record_id'=>'%s'))

◆ recordStatusList

$this recordStatusList = $this->get_recordStatusList()

◆ recordStatusIconList

$this recordStatusIconList = $this->get_recordStatusIconList()

◆ editRecordLink

$this editRecordLink = $this->get_adminLink(array('mode'=>'edit_record', 'record_id'=>'%s'))

◆ deleteRecordLink

$this deleteRecordLink = 'javascript:adminengine_confirmRedirect(deleteRecordUrl+%s, deleteRecordMessage);'

◆ recordListParams [1/7]

$this recordListParams = array('name'=>'recordList', 'useSession'=>true, 'object'=>&$this->recordItem, 'language'=>$this->language)

◆ recordListParams [2/7]

$this recordListParams[ '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->recordStatusList, 'default'=>'-1'),
'user_agent' => array('title'=>$this->get_translation('formitem_search'), 'itemtype'=>'text'),
'platform_type' => array('title'=>$this->get_translation('formitem_platform_type'), 'itemtype'=>'select', 'values'=>$this->recordTypeListAll, 'default'=>'-1'),
)
global $camyks
Definition: Admin_MonitoringUserAgentCheckerRecordListParams.php.inc:14
$this recordTypeListAll
Definition: Admin_MonitoringUserAgentCheckerRecordListParams.php.inc:16

◆ recordListParams [3/7]

$this recordListParams[ 'sort'] = array('allowed'=>false, 'default'=>'lvisit', 'defaultway'=>'desc')

◆ recordListParams [4/7]

$this recordListParams[ 'listcolumns']
Initial value:
= array(
'selection' => array('title'=>'', 'columntype'=>'checkbox'),
'status' => array('title'=>' ', 'columntype'=>'list', 'values'=>$this->recordStatusIconList, 'class'=>'eTableIconCell'),
'user_agent' => array('title'=>$this->get_translation('user_agent'), 'columntype'=>'method', 'maxlength'=>68, 'method'=>'get_adminValue'),
'platform_type' => array('title'=>$this->get_translation('platform_type'), 'columntype'=>'list', 'values'=>$this->recordTypeList, 'style'=>'width:85px;'),
'comparaison' => array('title'=>'' , 'columntype'=>'method', 'method'=>'is_user_agent_correct'),
'nvisit' => array('title'=>$this->get_translation('nvisits'), 'columntype'=>'text', 'class'=>'hiddenOnMobile'),
'lvisit' => array('title'=>$this->get_translation('lvisits'), 'columntype'=>'date', 'style'=>'width:100px;', 'mode'=>'numericwithhours', 'class'=>'hiddenOnMobile'),
'view' => array('title'=>'', 'columntype'=>'button', 'icon'=>'view', 'url_value'=>$this->viewRecordLink, 'url_title'=>$this->get_translation('viewrecord')),
)
$this recordStatusIconList
Definition: Admin_MonitoringUserAgentCheckerRecordListParams.php.inc:20
$this recordTypeList
Definition: Admin_MonitoringUserAgentCheckerRecordListParams.php.inc:17
$this viewRecordLink
Definition: Admin_MonitoringUserAgentCheckerRecordListParams.php.inc:18

◆ recordListParams [5/7]

$this recordListParams[ 'listlinks'] = array('new'=>array('title'=>$this->get_translation('addnewrecord'), 'icon'=>'plus', 'url_value'=>'javascript:adminengine_modalPopupOpen(\'admin_genericuseragentmanager_addpopup\');', 'titlecolumn'=>'user_agent', 'buttoncolumn'=>'edit'))

◆ recordListParams [6/7]

$this recordListParams[ 'listcolumns'][ 'edit'] = array('title'=>' ', 'columntype'=>'button', 'icon'=>'edit', 'url_value'=>$this->editRecordLink, 'url_title'=>$this->get_translation('editrecord'))

◆ recordListParams [7/7]

$this recordListParams[ 'listcolumns'][ 'delete'] = array('title'=>' ', 'columntype'=>'button', 'icon'=>'cross', 'url_value'=>$this->deleteRecordLink, 'url_title'=>$this->get_translation('deleterecord'))