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

Variables

global $camyks
 Admin_GenericPetitionManager Module signature list parameters. More...
 
$this signatureStatusList = $this->get_signaturesStatusList(true)
 
$this editSignatureLink = $this->get_adminLink(array('mode'=>'edit_signature', 'signature_id'=>'%s'))
 
$this deleteSignatureLink = 'javascript:adminengine_confirmRedirect(deleteSignatureUrl+%s, deleteSignatureMessage);'
 
$this signatureListParams = array('name'=>'signatureList', 'useSession'=>true, 'object'=>&$this->signatureItem)
 
$this signatureListParams ['headhiddens'] = array('petition_id'=>$this->petitionItem->id)
 
$this signatureListParams ['headselectors']
 
$this signatureListParams ['sort'] = array('allowed'=>true, 'default'=>'signdate', 'defaultway'=>'desc')
 
$this signatureListParams ['listcolumns']
 

Variable Documentation

◆ $camyks

global $camyks

Admin_GenericPetitionManager Module signature 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.

◆ signatureStatusList

$this signatureStatusList = $this->get_signaturesStatusList(true)

◆ editSignatureLink

$this editSignatureLink = $this->get_adminLink(array('mode'=>'edit_signature', 'signature_id'=>'%s'))

◆ deleteSignatureLink

$this deleteSignatureLink = 'javascript:adminengine_confirmRedirect(deleteSignatureUrl+%s, deleteSignatureMessage);'

◆ signatureListParams [1/5]

$this signatureListParams = array('name'=>'signatureList', 'useSession'=>true, 'object'=>&$this->signatureItem)

◆ signatureListParams [2/5]

$this signatureListParams[ 'headhiddens'] = array('petition_id'=>$this->petitionItem->id)

◆ signatureListParams [3/5]

$this signatureListParams[ '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->signatureStatusList, 'default'=>'-1'),
)
global $camyks
Admin_GenericPetitionManager Module signature list parameters.
Definition: Admin_GenericPetitionManagerSignatureListParams.php.inc:13

◆ signatureListParams [4/5]

$this signatureListParams[ 'sort'] = array('allowed'=>true, 'default'=>'signdate', 'defaultway'=>'desc')

◆ signatureListParams [5/5]

$this signatureListParams[ 'listcolumns']
Initial value:
= array(
'status' => array('title'=>' ', 'columntype'=>'boolean', 'mode'=>'pict', 'style'=>'width:12px;'),
'lastname' => array('title'=>$this->get_translation('signatory'),'columntype'=>'specialtext', 'text'=>'%s %s', 'vars'=>array('firstname', 'lastname')),
'city' => array('title'=>$this->get_translation('location'), 'columntype'=>'specialtext', 'text'=>'%s(%s)', 'vars'=>array('city', 'zipcode')),
'signdate' => array('title'=>$camyks->get_translation('date'), 'columntype'=>'date', 'mode'=>'numericwithhour'),
'edit' => array('title'=>' ', 'columntype'=>'button', 'icon'=>'edit', 'url_value'=>$this->editSignatureLink, 'style'=>'width:12px;', 'url_title'=>$this->get_translation('editsignature')),
'delete' => array('title'=>' ', 'columntype'=>'button', 'icon'=>'cross', 'url_value'=>$this->deleteSignatureLink, 'style'=>'width:12px;', 'url_title'=>$this->get_translation('deletesignature'), 'condition'=>'is_deletable'),
)
$this deleteSignatureLink
Definition: Admin_GenericPetitionManagerSignatureListParams.php.inc:20
$this editSignatureLink
Definition: Admin_GenericPetitionManagerSignatureListParams.php.inc:19