ビューごとにそれぞれでcssを変更する方法


viewに記述する
echo $this->Html->css('admin', false, array('inline'=>false));




◆第一引数はファイル名を指定

◆第二引数の $htmlAttributes パラメータを使用して
"type" 属性をセットする場合、CakePHP はいくつかのショートカットがあります


type 変換される値
html text/html
rss application/rss+xml
atom application/atom+xml
icon image/x-icon


◆第三引数の$inline を false にセットした場合、link タグは ctpファイルの 
$scripts_for_layout 変数の中に出現するようになるので、
この変数を文書中の head タグの中に入れておくといった使い方ができます。