Take the 2-minute tour ×  I have a quick question here. Let say
I have a view file myView.ctp in cakePHP and inside my view I
have some javascript (which I have there for a reason). I know I
can tell cake to put my javascript code into the header section
of my page by using the scriptStart() and scriptEnd() blocks
like:  <?php $html->scriptStart(array('inline' => false)); ?>
// My script code goes here...  <?php $html->scriptEnd(); ?>
The array('inline' => false) is what actually tells cake to put
my script in the header. Now my question is this: How do I
achieve the same thing for css codes (WITHOUT putting my css
codes into an external file)? This techniques seem to only work
for javascript codes.  Thank you  share|improve this question
Styles always belong into the head. Maybe you can try style()
and if not fitting search the docs, e.g. css() then hacking
cakePHP to add the functionality you need. –  hakre Mar 15 '12
at 15:23 add comment  2 Answers  i think you can use this link
api13.cakephp.org/class/h