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

Variables

global $camyks
 Admin_GenericPetitionManager Module petition list parameters. More...
 
$this petitionStatusList = $this->get_petitionsStatusList(true)
 
$this editPetitionLink = $this->get_adminLink(array('mode'=>'edit_petition', 'petition_id'=>'%s'))
 
$this listSignatureLink = $this->get_adminLink(array('mode'=>'list_signature', 'petition_id'=>'%s'))
 
$this deletePetitionLink = 'javascript:adminengine_confirmRedirect(deletePetitionUrl+%s, deletePetitionMessage);'
 
$this petitionListParams = array('name'=>'petitionList', 'useSession'=>true, 'object'=>&$this->petitionItem, 'language'=>$this->language)
 
$this petitionListParams ['headselectors']
 
$this petitionListParams ['sort'] = array('allowed'=>false, 'default'=>'', 'defaultway'=>'')
 
$this petitionListParams ['listcolumns']
 

Variable Documentation

◆ $camyks

global $camyks

Admin_GenericPetitionManager Module petition 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: Sep 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.

◆ petitionStatusList

$this petitionStatusList = $this->get_petitionsStatusList(true)

◆ editPetitionLink

$this editPetitionLink = $this->get_adminLink(array('mode'=>'edit_petition', 'petition_id'=>'%s'))

◆ listSignatureLink

$this listSignatureLink = $this->get_adminLink(array('mode'=>'list_signature', 'petition_id'=>'%s'))

◆ deletePetitionLink

$this deletePetitionLink = 'javascript:adminengine_confirmRedirect(deletePetitionUrl+%s, deletePetitionMessage);'

◆ petitionListParams [1/4]

$this petitionListParams = array('name'=>'petitionList', 'useSession'=>true, 'object'=>&$this->petitionItem, 'language'=>$this->language)

◆ petitionListParams [2/4]

$this petitionListParams[ '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->petitionStatusList, 'default'=>'-1'),
)
global $camyks
Admin_GenericPetitionManager Module petition list parameters.
Definition: Admin_GenericPetitionManagerPetitionListParams.php.inc:13

◆ petitionListParams [3/4]

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

◆ petitionListParams [4/4]

$this petitionListParams[ 'listcolumns']
Initial value:
= array(
'status' => array('title'=>' ', 'columntype'=>'boolean', 'mode'=>'pict', 'style'=>'width:12px;'),
'title' => array('title'=>$camyks->get_translation('title'),'columntype'=>'text'),
'signs' => array('title'=>$this->get_translation('signs'),'columntype'=>'text', 'style'=>'width:75px;'),
'cdate' => array('title'=>$this->get_translation('startedat'), 'columntype'=>'date', 'mode'=>'numeric', 'style'=>'width:75px'),
'list' =>array('title'=>' ', 'columntype'=>'button', 'icon'=>'file', 'url_value'=>$this->listSignatureLink, 'style'=>'width:12px;', 'url_title'=>$this->get_translation('listsignature')),
)
$this listSignatureLink
Definition: Admin_GenericPetitionManagerPetitionListParams.php.inc:19