コード例 #1
0
 public function init()
 {
     $this->tbl_polling = new Model_DbTable_Polling();
     $this->tbl_answer = new Model_DbTable_Answer();
     $this->form = new Admin_Form_PollingForm();
     parent::init();
 }
コード例 #2
0
 public function init()
 {
     $this->account = new Model_DbTable_AdminAccount();
     $this->filter = new Zend_Session_Namespace('filter');
     $this->form = new Admin_Form_AccountForm();
     parent::init();
 }
コード例 #3
0
 /**
  * IS: -
  * FS: -
  * Desc: Inisiasi fungsi parent
  */
 public function init()
 {
     parent::init();
     $this->view->image_dir_type = 1;
     /*get google map key from zend registry and send it to the view*/
     $this->view->gkey = 'ABQIAAAA4l_aTvb-Ccy0LPmnmpLkQxRB93edaK5BFbO7xsagv6wBifXTbxSwGovo4GTJ46u0W13gusb05hq-RA';
 }
コード例 #4
0
 public function init()
 {
     $this->_partner = new Model_DbTable_Partner();
     $this->_partnerDescription = new Model_DbTable_PartnerDescription();
     $this->filter = new Zend_Session_Namespace('filter');
     parent::init();
 }
コード例 #5
0
 /**
  * IS: -
  * FS: -
  * Desc: Inisiasi fungsi parent
  */
 public function init()
 {
     $this->event = new Model_DbTable_Event();
     $this->event_description = new Model_DbTable_EventDesc();
     $this->filter = new Zend_Session_Namespace('filter');
     parent::init();
     $this->view->image_dir_type = 3;
 }
コード例 #6
0
 public function init()
 {
     $this->_form = new Admin_Form_ArticleForm();
     $this->_article = new Admin_Model_DbTable_Article();
     $this->_description = new Admin_Model_DbTable_ArticleDescription();
     $this->_filter = new Zend_Session_Namespace('filter');
     parent::init();
 }
コード例 #7
0
 /**
  * IS: -
  * FS: -
  * Desc: Inisiasi fungsi parent
  */
 public function init()
 {
     $this->contact = new Model_DbTable_Contact();
     $this->_contactSubject = new Model_DbTable_ContactSubject();
     $this->form = new Admin_Form_ContactForm();
     $this->filter = new Zend_Session_Namespace('filter');
     parent::init();
 }
コード例 #8
0
 public function init()
 {
     $this->news = new Admin_Model_DbTable_News();
     $this->newsDescription = new Admin_Model_DbTable_NewsDescription();
     $this->form = new Admin_Form_NewsForm();
     $this->filter = new Zend_Session_Namespace('filter');
     $this->form->image->setDestination(UPLOAD_FOLDER . 'news/');
     parent::init();
 }
コード例 #9
0
 public function init()
 {
     $this->form = new Admin_Form_FigureForm();
     $this->figure = new Admin_Model_DbTable_Figure();
     $this->figure_description = new Admin_Model_DbTable_FigureDescription();
     $this->filter_session = new Zend_Session_Namespace('filter');
     $this->form->image->setDestination(UPLOAD_FOLDER . 'figure/');
     parent::init();
 }
コード例 #10
0
 /**
  * IS: -
  * FS: -
  * Desc: Inisiasi fungsi parent
  */
 public function init()
 {
     parent::init();
     $this->view->image_dir_type = 3;
 }
コード例 #11
0
 /**
  * IS: -
  * FS: -
  * Desc: Inisiasi fungsi parent
  */
 public function init()
 {
     parent::init();
 }
コード例 #12
0
 * ajax di CMS admin
 */
require_once 'Zend/Controller/Action.php';
class Admin_AjaxController extends Library_Controller_Backend
{
    /**
コード例 #13
0
 /**
  * IS: -
  * FS: -
  * Desc: Inisiasi fungsi parent
  */
 public function init()
 {
     $this->filter = new Zend_Session_Namespace('filter');
     parent::init();
 }
コード例 #14
0
 /**
  * IS: -
  * FS: -
  * Desc: Inisiasi fungsi parent
  */
 public function init()
 {
     parent::init();
     $this->adminDb = new Model_DbTable_Admin();
 }
コード例 #15
0
 public function init()
 {
     $this->log = new Model_DbTable_LogAdmin();
     $this->filter = new Zend_Session_Namespace('filter');
     parent::init();
 }
コード例 #16
0
 public function init()
 {
     $this->filter = new Zend_Session_Namespace('filter');
     $this->role = new Model_DbTable_AdminRole();
     parent::init();
 }
コード例 #17
0
 /**
  * IS: -
  * FS: -
  * Desc: Inisiasi fungsi parent
  */
 public function init()
 {
     parent::init();
     $this->view->image_dir_type = 4;
     $this->filter = new Zend_Session_Namespace('filter');
 }
コード例 #18
0
 public function init()
 {
     $this->_db = new Admin_Model_DbTable_ImgGallery();
     $this->filter = new Zend_Session_Namespace('filter');
     parent::init();
 }