public function __construct($id) { parent::__construct($id); $img = array('Parsimony.png' => array('name' => 'core/files/Parsimony.png', 'title' => 'Parsimony A new Generation of CMS', 'alt' => 'Parsimony A new Generation of CMS', 'url' => 'core/files/Parsimony.png', 'description' => 'Helps the web to have talent and share it')); $this->setConfig('img', $img); $this->setConfig('width', '500'); $this->setConfig('height', '250'); }
/** * Build a page object * @param integer $id page id * */ public function __construct($id, $module = FALSE) { parent::__construct($id); if ($module === FALSE) { $module = \app::$config['defaultModule']; } $this->moduleName = $module; }
public function __construct($id) { parent::__construct($id); $this->setConfig('adress', '12 rue Louis Courtois de Viçose'); $this->setConfig('town', 'Toulouse'); $this->setConfig('country', 'France'); $this->setConfig('language', 'fr'); $this->setConfig('view', 'm'); $this->setConfig('zoom', '15'); }
public function __construct($id) { parent::__construct($id); $menu = array(array('id' => 1, 'title' => 'Home', 'url' => 'index')); $this->setConfig('menu', json_encode($menu)); }
public function __construct($id) { parent::__construct($id); $this->setConfig('imgPath', 'core/files/Parsimony.png'); $this->setConfig('title', 'parsimony'); $this->setConfig('alt', 'Parsimony'); $this->setConfig('lightbox', '0'); }