public function __construct(View_Manager $view_manager) { parent::__construct($view_manager); $this->_do = null; $this->_attributes->register('id', 'slider'); // ID of the parent slideshow div $this->_attributes->register('auto', 3); // Seconds to auto-advance, defaults to disabled $this->_attributes->register('resume', true); // Resume auto after interrupted, defaults to false $this->_attributes->register('vertical', false); // Direction, defaults to false $this->_attributes->register('navid', 'pagination'); // Optional ID of direct navigation UL $this->_attributes->register('activeclass', 'current'); // Class to set on the current LI $this->_attributes->register('position', 0); // Initial slide position, defaulting to index 0 /* * You can also optionally set width and height parameters for the applicable direction you are sliding. * If it is not set the width or height will be automatically calculated using the offsetWidth/offsetHeight * of the first list element. */ $this->_attributes->register('width'); $this->_attributes->register('height'); $this->template = 'slide/default'; // default template }
public function __construct(View_Manager $view_manager) { parent::__construct($view_manager); $this->_attributes->register('current'); // currently active menuitem $this->_attributes->register('autodetect'); // automatic detection of current menuitem (overrides the current attribute) $this->template = 'navmenu/default'; // default template }
public function __construct(View_Manager $view_manager) { parent::__construct($view_manager); $this->_kiwi_module = null; $this->_galleries = null; $this->_total = null; $this->_qs = null; $this->_attributes->register('mid'); // module id in database $this->_attributes->register('name'); // module name in database $this->_attributes->register('mactive'); // module activity status $this->_attributes->register('ggid'); // gallerygroup id in database $this->_attributes->register('ggroup'); // gallerygroup name in database $this->_attributes->register('ggshortdesc'); // gallerygroup short description $this->_attributes->register('gglongdesc'); // gallerygroup long description $this->_attributes->register('ggauthor'); // gallerygroup author $this->_attributes->register('ggwhen'); // gallerygroup date $this->_attributes->register('ggsize'); // number of galleries per page to display (when displaying list) $this->_attributes->register('gggsize'); // number of pictures per gallery (when displaying list) $this->_attributes->register('gsize'); // number of pictures per page to display (when displaying detail) $this->_attributes->register('pagination'); // pagination display toggle ("", "0", "top", "bottom"; other means "on") $this->_attributes->register('detailpage'); // navigation point for displaying detailed galleries $this->_attributes->register('gid'); // id of gallery to display in detail (dont set if you want list) $this->_attributes->register('ggpage'); // page to display (when displaying list) $this->_attributes->register('gpage'); // page to display (when displaying detail) $this->_attributes->register('ns'); // namespace (query string variables prefix) $this->_attributes->register('nsd'); // detail namespace (query string variables prefix) (if not defined, falls back to ns) // $this->_attributes->register('qs'); // query string to preserve // special variable $this->_attributes->register('images'); // attribute which says if images should be rendered in special way $this->_attributes->register('thumbs'); // size and quality of thumbnails, e.g.: 100x100@75 $this->template = 'galleries/default'; // default template }
public function __construct(View_Manager $view_manager) { parent::__construct($view_manager); $this->_kiwi_object = null; $this->_banners = null; $this->_attributes->register('group'); // banner group id in database $this->_attributes->register('max'); // max banners $this->template = 'banners/default'; // default template }
public function __construct(View_Manager $view_manager) { parent::__construct($view_manager); $this->_validation = null; $this->_validate = array(); $this->_status = self::READY; $this->_session_var = 'tbvv'; $this->_session_vars = array('_status'); $this->_attributes->register('ns'); // namespace (important for storing status of multiple forms in client session) $this->_attributes->register('successPage'); // page to redirect on success (NULL means current) $this->setImplicitValidations(); }
public function __construct(View_Manager $view_manager) { parent::__construct($view_manager); $this->_datetime = null; $this->_enumerations = array(); $this->_attributes->register('timestamp'); $this->_attributes->register('year'); $this->_attributes->register('month'); $this->_attributes->register('day'); $this->_attributes->register('hour'); $this->_attributes->register('minute'); $this->_attributes->register('second'); $this->template = 'datetime/default'; // default template }
public function __construct(View_Manager $view_manager) { parent::__construct($view_manager); $this->_attributes->register('mid'); // module id in database $this->_attributes->register('name'); // module name in database $this->_attributes->register('mactive'); // module activity status $this->_attributes->register('title'); // title to be displayed if template supports it $this->_attributes->register('images'); // attribute which says if images should be rendered in special way $this->template = 'article/default'; // default template }
public function __construct(View_Manager $view_manager) { parent::__construct($view_manager); $this->_menu = null; $this->_catalog_urlbase = null; $this->_catalog_href = null; $this->_qs = null; $this->_catalog_data = null; $this->_product_data = null; $this->_search = new Kiwi_Product_Search(); $this->_sort = new Kiwi_Product_Sort(); $this->_propval_photo = null; $this->_only = null; $this->_skipped = null; $this->_attributes->register('name'); // catalog navpoint name $this->_attributes->register('catalogroot'); // root of catalog $this->_attributes->register('menuroot', 1); // root of menu $this->_attributes->register('line'); // current product line/group $this->_attributes->register('product'); // current product's id $this->_attributes->register('prodbind'); // current product's bind id $this->_attributes->register('url'); // magic url of current product or line $this->_attributes->register('width', 3); // number of products per row (only for product line view) $this->_attributes->register('rows', 3); // number of rows (only for product line view) $this->_attributes->register('pagination', 'both'); // pagination display toggle ("", "0", "top", "bottom"; other means "on") $this->_attributes->register('page', 1); // page to display (when displaying list) $this->_attributes->register('skip', 0); // products to skip from beginning (when displaying list) $this->_attributes->register('ns', ''); // namespace // $this->_attributes->register('qs'); // query string to preserve // special variable handled by get/set $this->_attributes->register('images', ''); // attribute which says if images should be rendered in special way $this->template = 'catalog/default'; // default template }
public function __construct(View_Manager $view_manager) { parent::__construct($view_manager); $this->_qs = null; $this->_attributes->register('radius', 2); // display radius around current page number $this->_attributes->register('total'); // total pages $this->_attributes->register('current'); // current page $this->_attributes->register('link'); // navigation point for target links $this->_attributes->register('qsvar', 'pg'); // query string variable name used for page number in the target links // $this->_attributes->register('qs'); // query string to preserve // special variable $this->template = 'pagination/default'; // default template }
public function __construct(View_Manager $view_manager) { parent::__construct($view_manager); $this->_kiwi_module = null; $this->_items = null; $this->_total = null; $this->_qs = null; $this->_attributes->register('mid'); // module id in database $this->_attributes->register('name'); // module name in database $this->_attributes->register('mactive'); // module activity status $this->_attributes->register('ngid'); // newsgroup id in database $this->_attributes->register('newsgroup'); // newsgroup name in database $this->_attributes->register('size'); // number of newsitems per page to display $this->_attributes->register('listmode', 'S'); // listing mode ("S" means samples, "C" means complete texts) $this->_attributes->register('pagination'); // pagination display toggle ("", "0", "top", "bottom"; other means "on") $this->_attributes->register('detailpage'); // navigation point for displaying detailed newsitems $this->_attributes->register('item'); // id of newsitem to display in detail (dont set if you want list) $this->_attributes->register('page'); // page to display (when displaying list) $this->_attributes->register('ns'); // namespace (query string variables prefix) $this->_attributes->register('nsd'); // detail namespace (query string variables prefix) (if not defined, falls back to ns) // $this->_attributes->register('qs'); // query string to preserve // special variable $this->_attributes->register('images'); // attribute which says if images should be rendered in special way $this->template = 'news/default'; // default template }
public function __construct(View_Manager $view_manager) { parent::__construct($view_manager); $this->template = 'newsletterresubscriber/default'; // default template }