Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/lib/php5/pear/cake/libs/controller/components/session.php) is not within the allowed path(s): (/var/www/vhosts/rd11.com/subdomains/rdos/httpdocs:/tmp) in /var/www/vhosts/rd11.com/subdomains/rdos/httpdocs/cake-trunk/cake/basics.php on line 1108

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /var/www/vhosts/rd11.com/subdomains/rdos/httpdocs/cake-trunk/cake/basics.php:1108) in /var/www/vhosts/rd11.com/subdomains/rdos/httpdocs/cake-trunk/cake/libs/session.php on line 134

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /var/www/vhosts/rd11.com/subdomains/rdos/httpdocs/cake-trunk/cake/basics.php:1108) in /var/www/vhosts/rd11.com/subdomains/rdos/httpdocs/cake-trunk/cake/libs/session.php on line 134

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/lib/php5/pear/cake/config/tags.ini.php) is not within the allowed path(s): (/var/www/vhosts/rd11.com/subdomains/rdos/httpdocs:/tmp) in /var/www/vhosts/rd11.com/subdomains/rdos/httpdocs/cake-trunk/cake/basics.php on line 1108

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/lib/php5/pear/cake/libs/view/helpers/html.php) is not within the allowed path(s): (/var/www/vhosts/rd11.com/subdomains/rdos/httpdocs:/tmp) in /var/www/vhosts/rd11.com/subdomains/rdos/httpdocs/cake-trunk/cake/basics.php on line 1108
CakePHP : A Rapid Development Framework :: Bakes
rdBaker: supply your ingredients
			all files are written to the /tmp directory.
			/tmp/rdBaker/app will be created in the tmp directory, if it does not exist.
			any files in /tmp/rdBaker/app will be overwritten.
		
yes:
 

example: Post

 

required

Scaffold: will create controller,model, and empty views and
add var $scaffold to the controller

Emtpy: will create empty classes for controller and model, plus empty views

Full: will create controllers, models and views with index, view,
add ,edit and delete. Views have title, body

 

var $hasMany = 'Comment';
var $validate = array('title',VALID_NOT_EMPTY);