Exemplo n.º 1
0
 public function UserPropertyExists($sUserUID)
 {
     $oUserProperty = UsersPropertiesPeer::retrieveByPk($sUserUID);
     if (!is_null($oUserProperty) && is_object($oUserProperty) && get_class($oUserProperty) == 'UsersProperties') {
         $this->fields = $oUserProperty->toArray(BasePeer::TYPE_FIELDNAME);
         $this->fromArray($this->fields, BasePeer::TYPE_FIELDNAME);
         return true;
     } else {
         return false;
     }
 }