I cannot use autocomplete if I call an object inside function init()
like this:
class IndexController extends HiNStudio_Controller {
private $model_obj;
public function init() {
$this -> model_obj = new Default_Model_Account();
}
public function indexAction() {
$this -> model_obj -> //(it should be something autocomplete here)
}
The code is still working if I call correct function name. Ex:
public function indexAction() {
$this -> model_obj -> checkLogin();
}
Is there any case to display autocomplete function instead of call Object inside each function like this:
class IndexController extends HiNStudio_Controller {
private $model_obj;
public function init() {
}
public function indexAction() {
$this -> model_obj = new Default_Model_Account();
$this -> model_obj -> //(autocomplete is working here)
}