シドニーで働くプログラマーのBlog
僕が使っているのは、下記の方法です。
[php] $this->modelNames[‘0’] [/php]
Cakephp1.2.*、1.3.*で動作は確認済みです。
皆さんどのように取得していますか? なにかおすすめな方法がありましたら、教えてください。
Cloud Nine
Name (required)
Mail (required)
Website
This is my blog tags. Android Apache Apple Australia Cakephp CentOS CMS Css Dairy Database Design Drupal Earphones Editor emacs English git Hardware Heroku Japan Linux Mac Matome Meadow Mobile Music Mysql Network Phone PHP PostgreSQL Programming Review Ruby Ruby on Rails Security SEO Server Software SQL Ubuntu Vagrant Windows Windowsmobile Wordpress
No Comments, Comment or Ping
Reply to “Cakephpでモデル名を取得する”