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

Popular posts from this blog

Add email recipient to all new Trac tickets -

400 Bad Request on Apache/PHP AddHandler wrapper -

php - Change action and image src url's with jQuery -