Merging changes to Set class into 1.1.x.x

Added doc comment for Set::reverse()
merged changes in DboSource and DboPostgres into 1.1.x.x

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5420 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
phpnut 2007-07-09 04:47:05 +00:00
parent 49817ea42d
commit 1713dcdfb2

View file

@ -662,7 +662,12 @@ class Set extends Object {
return array_combine($keys, $vals); return array_combine($keys, $vals);
} }
/**
* Converts an object into an array
*
* @param object $object
* @return array
*/
function reverse($object) { function reverse($object) {
if (is_object($object)) { if (is_object($object)) {
$merge = array(); $merge = array();