cakephp - How get name of current model this view context is attached to? -
in api , call $this->model return model'sname dont work.
http://api13.cakephp.org/class/view
is api cakephp false ? $view->modelid dont work, too.
in controller: $this->modelclass
Comments
Post a Comment