Exemplo n.º 1
0
 protected function create()
 {
     parent::create();
     $this->cache = false;
     $this->data['extra'] = array();
     $this->data['subject'] = '';
     $this->data['errmesg'] = '';
     $this->data['success'] = '';
 }
Exemplo n.º 2
0
 protected function create()
 {
     parent::create();
     $this->basename = 'homepage';
     $this->data['image'] = '';
     $this->data['showmidle'] = false;
     $this->data['midlecat'] = 0;
     $this->data['showposts'] = true;
     $this->data['invertorder'] = false;
     $this->data['includecats'] = array();
     $this->data['excludecats'] = array();
     $this->data['showpagenator'] = true;
     $this->data['archcount'] = 0;
     $this->data['parsetags'] = false;
     $this->coinstances[] = new tcoevents($this, 'onbeforegetitems', 'ongetitems');
     $this->cacheposts = false;
     $this->midleposts = false;
 }