public function __construct() { $this->mid = $_SESSION['mid']; $this->model = model('AddonData'); $this->tVar = array(); }
public function __construct() { if (strtolower(ACTION_NAME) === 'index' && strtolower(MODULE_NAME) === 'profile' && strtolower(APP_NAME) === 'public') { $this->isRefresh = 1; } parent::__construct(); }