示例#1
0
 public function __construct()
 {
     $this->eventnames = array();
     $this->map = array();
     parent::__construct();
     $this->assignmap();
     $this->load();
 }
 public function __construct(TCommonTags $owner)
 {
     parent::__construct();
     $this->owner = $owner;
     $this->items = array();
 }
示例#3
0
 public function __construct()
 {
     parent::__construct();
     $this->data['id'] = 0;
 }
 public function __construct($id = 0)
 {
     if (!isset($id)) {
         return false;
     }
     parent::__construct();
     $this->table = 'comments';
     $id = (int) $id;
     if ($id > 0) {
         $this->setid($id);
     }
 }