Firebird News

Monday, September 01, 2008

blog tutorial - php5 clean up
In the blog tutorial maybe the $name variable should be removed
it is a little bit cleaner this way
http://book.cakephp.org/view/334/create-a-post-model

from
class Post extends AppModel {
var $name = 'Post';
}
to
class Post extends AppModel {
}

No comments: