This method convert all mapped informationg (including cascating relatioinships) into a stdClass Objecto to better manage it into views or anything you want to.
By default recursive is true and full recursive is false.
Recursive means it will take all relationships ( currently or not ) and convert in a zero level to stdClass Object too.
@param Boolean $recursive
@return stdClass
Params
$recursive
By default toStdClass() method brings the Model recursively that menas it will bring all current relationships instanced at that time recusively. If $recursive = false than it will bring only the first level.
Explanation
Default Usage
$user = new Users(); $user->get(1); var_dump($user->toStdClass());
For more and detailed information see toArray() in www.phpburn.com/documentation/orm/toArray