Show Menu
Cheatography

CakePHP 2.2 Cheat Sheet by

Global Functions

__(string $strin­g_id[, $forma­tArgs])
__c(string $msg, integer $category, mixed $args = null)
__d(string $domain, string $msg, mixed $args = null)
content note
 

FormHelper

FormHe­lpe­r::­cre­ate­(string $model = null, array $options = array())
The first method you’ll need to use in order to take advantage of the FormHelper is create().
 

HtmlHelper

HtmlHe­lpe­r::­cha­rse­t($­cha­rse­t=null)
The most important task the HtmlHelper accomp­lishes is creating well formed markup.
HtmlHe­lpe­r::­met­a(s­tring $type, string $url = null, array $options = array())
This method is handy for linking to external resources like RSS/Atom feeds and favicons.
 

Comments

No comments yet. Add yours below!

Add a Comment

Your Comment

Please enter your name.

    Please enter your email address

      Please enter your Comment.

          Related Cheat Sheets

          More Cheat Sheets by atkrad

          Cmus Cheat Sheet
          Tmux Cheat Sheet