Revision: 19232
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at October 18, 2009 15:07 by squarepegsys
Initial Code
class Call extends AppModel { var $name = 'Call'; var $region_info= array("className"=>"Region", "foreignKey"=>"id", "column"=>"id", ); var $eqmt_info= array("className"=>"Equipment", "foreignKey"=>"id", "column"=>"id", ); var $hasOne=array( "base_region"=> $region_info, "region_1"=> $region_info) }
Initial URL
Initial Description
Causes : Parse error: syntax error, unexpected T_VARIABLE in /Library/WebServer/Documents/leaderboard/app/models/call.php on the "base_region" record.
Initial Title
hasOne Version 2 (no workie)
Initial Tags
Initial Language
PHP