Show Menu

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


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().


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.

Download the CakePHP 2.2 Cheat Sheet

1 Page

PDF (recommended)

Alternative Downloads

Share This Cheat Sheet!

Like this cheat sheet? Check out our favourite related books!

Head First PHP & MySQL
"Heads First PHP and MySQL is a great beginners book, one that should be on the bookshelf of every up and coming PHP developer."

PHP & MySQL: Novice to Ninja
"Quite honestly, this book PHP & MySQL: Novice to Ninja went beyond my expectations. Overall Rating: Great Book!!"

PHP Objects, Patterns, and Practice
"This is an amazing book. I made the switch to OO PHP about a year ago, and I am learning something new every time I open this book."



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