/** * Constructor * * @param Zend_Db_Adapter_Abstract $db */ public function __construct($db) { $this->_config['db'] = $db; parent::__construct($this->_config); $this->add('post_id'); $this->add('tag'); $this->add('label'); }
/** * Constructor * * @param Zend_Db_Adapter_Abstract $db */ public function __construct($db) { $this->_config['db'] = $db; parent::__construct($this->_config); $this->add('filename'); $this->add('post_id'); $this->add('ranking'); $this->add('comment'); }
/** * Constructor * * @param Zend_Db_Adapter_Abstract $db */ public function __construct($db) { $this->_config['db'] = $db; parent::__construct($this->_config); $this->add('info_key'); $this->add('title_info'); $this->add('actual', 1, self::TYPE_BOOLEAN); $this->profile = new Default_Model_DbTable_BlogInfoProfile($db); }
/** * Constructor * * @param Zend_Db_Adapter_Abstract $db * @param string $nameTable */ public function __construct($db, $nameTable) { $this->_config['db'] = $db; $this->_config['name'] = $nameTable; parent::__construct($this->_config); $this->add('ts', time(), self::TYPE_TIMESTAMP); $this->add('msg'); $this->add('pr'); $this->add('pr_name'); }
/** * Constructor * * @param Zend_Db_Adapter_Abstract $db */ public function __construct($db) { $this->_config['db'] = $db; parent::__construct($this->_config); $this->add('ts', time(), self::TYPE_TIMESTAMP); $this->add('post_id'); $this->add('user_id'); $this->add('reply_id', 0); $this->add('comment', "", self::TYPE_HTML); }
/** * Constructor * * @param Zend_Db_Adapter_Abstract $db */ public function __construct($db) { $this->_config['db'] = $db; parent::__construct($this->_config); $this->add('type'); $this->add('identifier'); $this->add('post_id'); $this->add('ranking'); $this->add('name'); $this->add('comment', "", self::TYPE_HTML); }
/** * Constructor * * @param Zend_Db_Adapter_Abstract $db */ public function __construct($db) { $this->_config['db'] = $db; parent::__construct($this->_config); $this->add('user_id'); $this->add('url'); $this->add('ts_created', time(), self::TYPE_TIMESTAMP); $this->add('status', self::STATUS_DRAFT); $this->add('actual', 1, self::TYPE_BOOLEAN); $this->profile = new Default_Model_DbTable_BlogPostProfile($db); }
/** * Constructor * * @param Zend_Db_Adapter_Abstract $db */ public function __construct($db) { $this->_config['db'] = $db; parent::__construct($this->_config); $this->add('post_id'); $this->add('longitude'); $this->add('latitude'); $this->add('description'); $this->add('content', NULL, self::TYPE_HTML); $this->add('correction', 0); $this->add('details', NULL, self::TYPE_HTML); }
/** * Constructor * * @param Zend_Db_Adapter_Abstract $db */ public function __construct($db) { $this->_config['db'] = $db; parent::__construct($this->_config); $this->add('username', NULL, NULL); $this->add('password', NULL, NULL); // $this->add('user_type', self::$userTypes['member'], NULL); $this->add('user_type', self::$userTypes['commentator'], NULL); $this->add('ts_created', time(), self::TYPE_TIMESTAMP); $this->add('ts_last_login', NULL, self::TYPE_TIMESTAMP); $this->add('actual', 1, self::TYPE_BOOLEAN); $this->profile = new Default_Model_DbTable_UserProfile($db); }