You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by ch...@apache.org on 2008/10/09 22:53:37 UTC

svn commit: r703255 - /incubator/shindig/trunk/php/src/social/model/Person.php

Author: chabotc
Date: Thu Oct  9 13:53:37 2008
New Revision: 703255

URL: http://svn.apache.org/viewvc?rev=703255&view=rev
Log:
Those should be there..

Modified:
    incubator/shindig/trunk/php/src/social/model/Person.php

Modified: incubator/shindig/trunk/php/src/social/model/Person.php
URL: http://svn.apache.org/viewvc/incubator/shindig/trunk/php/src/social/model/Person.php?rev=703255&r1=703254&r2=703255&view=diff
==============================================================================
--- incubator/shindig/trunk/php/src/social/model/Person.php (original)
+++ incubator/shindig/trunk/php/src/social/model/Person.php Thu Oct  9 13:53:37 2008
@@ -401,7 +401,7 @@
 
 	public function setLookingFor($lookingFor)
 	{
-		$this->setFieldImpl('lookingFor', $lookingFor);
+		$this->setFieldImpl('lookingFor', new EnumLookingFor($lookingFor));
 	}
 
 	public function getMovies()
@@ -441,7 +441,7 @@
 
 	public function setNetworkPresence($networkPresence)
 	{
-		$this->setFieldImpl('networkPresence', $networkPresence);
+		$this->setFieldImpl('networkPresence', new EnumPresence($networkPresence));
 	}
 
 	public function getNickname()
@@ -602,7 +602,7 @@
 
 	public function setSmoker($smoker)
 	{
-		$this->setFieldImpl('smoker', $smoker);
+		$this->setFieldImpl('smoker', new EnumSmoker($smoker));
 	}
 
 	public function getSports()