コード例 #1
0
 /**
  * Class constructor
  *
  * @access	public
  */
 public function __construct()
 {
     parent::__construct();
     $this->_title = 'Update';
     if ($this->_user['settings']) {
         $this->_action_msg = ActionMessages::ws_update_check(Helper::check_update());
         $this->update();
     }
 }
コード例 #2
0
 /**
  * Class constructor
  *
  * @access	public
  */
 public function __construct()
 {
     parent::__construct();
     $this->_title = 'Dashboard';
     if ($this->_user['dashboard']) {
         $this->get_activity();
         $this->get_recent_comments();
         $this->get_draft();
         Helper::get_categories($this->_categories, $this->_action_msg, 'post');
         if (Helper::check_update() === true) {
             $this->_action_msg = ActionMessages::ws_update_check(true, true);
         }
     }
 }