or   Register or Register today to make and share your own cheat sheets! (Why Join?)

Cheatography Login

Join Us!

Not a Cheatographer? Register here!

Social Media

You can login to or register with Cheatography using your Facebook or Twitter account!

Why Join Cheatography?

Make and share cheat sheets!
Join a great community of Cheatographers and add your very own contributions.

Save your favourites!
Quick access to your most loved cheat sheets.

Fewer ads!
Members see no ads on the site.

Coming soon ...
Requests, ratings and more!

Why Join Cheatography?

Make and share cheat sheets!
Join a great community of Cheatographers and add your very own contributions.

Save your favourites!
Quick access to your most loved cheat sheets.

Fewer ads!
Members see no ads on the site.

Coming soon ...
Requests, ratings and more!

CakePHP 2.2 Cheat Sheet by atkrad

Comments   |   Add a Comment   |   PDF Download   |   Find:

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

Comment:

Contents

Column Content Comments Author Updated
- CakePHP 2.2 Cheat Sheet atkrad 9 Jul 12
1 Global Functions 0 atkrad 9 Jul 12
2 FormHelper 0 atkrad 9 Jul 12
3 HtmlHelper 0 atkrad 9 Jul 12