Esempio n. 1
0
 /**
  * @return Gpf_Db_Table_Broadcasts
  */
 public static function getInstance()
 {
     if (self::$instance === null) {
         self::$instance = new self();
     }
     return self::$instance;
 }
Esempio n. 2
0
 public function init()
 {
     $this->setTable(Gpf_Db_Table_Broadcasts::getInstance());
     parent::init();
 }
 protected function buildFrom()
 {
     $this->_selectBuilder->from->add(Gpf_Db_Table_Broadcasts::getName(), 'b');
     $this->_selectBuilder->from->addInnerJoin(Gpf_Db_Table_MailTemplates::getName(), 't', 'b.templateid=t.templateid');
 }