2009-01-03から1日間の記事一覧

$usesを使わないでモデルを扱う

ClassRegistry::init( 'Model' )->method(); // or $model = ClassRegistry::init( 'Model' ); 色々なモデルからデータを読み込んでViewにセットする - cakephperの日記(CakePHP, Laravel, PHP) How to build a “dashboard” for your application in CakePHP…