Esempio n. 1
0
 /**
  * Pobranie ksiązki adresowej dla Clienta
  * @return type
  */
 protected function _getAddressBook()
 {
     $model = new Addressbook();
     $select = $model->select()->where('created_by = ?', Zend_Auth::getInstance()->getIdentity()->id)->where('ghost IS FALSE');
     return $model->fetchAll($select);
 }