From 1713dcdfb28ab2b0d8822fe14a25576f63b858a6 Mon Sep 17 00:00:00 2001 From: phpnut Date: Mon, 9 Jul 2007 04:47:05 +0000 Subject: [PATCH] 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 --- cake/libs/set.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/cake/libs/set.php b/cake/libs/set.php index e03192c61..a6d4978de 100644 --- a/cake/libs/set.php +++ b/cake/libs/set.php @@ -662,7 +662,12 @@ class Set extends Object { return array_combine($keys, $vals); } - +/** + * Converts an object into an array + * + * @param object $object + * @return array + */ function reverse($object) { if (is_object($object)) { $merge = array();