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

Variables

global $camyks
 Content_GenericHTMLNews Module news list parameters. More...
 
$this editNewsLink = $this->get_adminLink(array('mode'=>'edit_item', 'news_id'=>'%s'))
 
$this deleteNewsLink = 'javascript:adminengine_confirmRedirect(deleteNewsUrl+%s, deleteNewsMessage);'
 
$this newsListParams = array('name'=>'newsList', 'useSession'=>true, 'object'=>&$this->newsitem)
 
$this newsListParams ['headselectors'] = array('page'=> array('title'=>$this->get_translation('itempage'), 'itemtype'=>'page'))
 
$this newsListParams ['sort'] = array('allowed'=>true, 'default'=>'ndate', 'defaultway'=>'desc')
 
$this newsListParams ['listlinks'] = array('new'=>array('title'=>$this->get_translation('addnewnews'), 'icon'=>'plus', 'url_value'=>vsprintf($this->editNewsLink, 0), 'titlecolumn'=>'language', 'buttoncolumn'=>'edit'))
 
$this newsListParams ['listcolumns']
 

Variable Documentation

◆ $camyks

global $camyks

Content_GenericHTMLNews Module news 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: Apr 2009
Modification: May 2021
Note
This program is distributed as is - WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

◆ editNewsLink

$this editNewsLink = $this->get_adminLink(array('mode'=>'edit_item', 'news_id'=>'%s'))

◆ deleteNewsLink

$this deleteNewsLink = 'javascript:adminengine_confirmRedirect(deleteNewsUrl+%s, deleteNewsMessage);'

◆ newsListParams [1/5]

$this newsListParams = array('name'=>'newsList', 'useSession'=>true, 'object'=>&$this->newsitem)

◆ newsListParams [2/5]

$this newsListParams[ 'headselectors'] = array('page'=> array('title'=>$this->get_translation('itempage'), 'itemtype'=>'page'))

◆ newsListParams [3/5]

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

◆ newsListParams [4/5]

$this newsListParams[ 'listlinks'] = array('new'=>array('title'=>$this->get_translation('addnewnews'), 'icon'=>'plus', 'url_value'=>vsprintf($this->editNewsLink, 0), 'titlecolumn'=>'language', 'buttoncolumn'=>'edit'))

◆ newsListParams [5/5]

$this newsListParams[ 'listcolumns']
Initial value:
= array(
'status' => array('title'=>' ', 'columntype'=>'boolean', 'mode'=>'pict', 'style'=>'width:12px;'),
'language' => array('title'=>' ', 'columntype'=>'country', 'style'=>'width:20px;'),
'author' => array('title'=>$camyks->get_translation('author'), 'columntype'=>'text'),
'ndate' => array('title'=>$camyks->get_translation('date'), 'columntype'=>'date', 'mode'=>'shortwithhour', 'style'=>'width:140px;'),
'title' => array('title'=>$camyks->get_translation('title'),'columntype'=>'text'),
'edit' => array('title'=>' ', 'columntype'=>'button', 'icon'=>'edit', 'url_value'=>$this->editNewsLink, 'style'=>'width:12px;', 'url_title'=>$this->get_translation('editnews')),
'delete' => array('title'=>' ', 'columntype'=>'button', 'icon'=>'cross', 'url_value'=>$this->deleteNewsLink, 'style'=>'width:12px;', 'url_title'=>$this->get_translation('deletenews')),
)
$this editNewsLink
Definition: Content_GenericHTMLNewsListParams.php.inc:16
$this deleteNewsLink
Definition: Content_GenericHTMLNewsListParams.php.inc:17
global $camyks
Content_GenericHTMLNews Module news list parameters.
Definition: Content_GenericHTMLNewsListParams.php.inc:13