Esempio n. 1
0
 /**
  * Corresponds to the overriding of {@link LanguageObject->getId()}
  * Provides a unified way of working with stored references (in the references or tags tables)
  */
 public static function retrieveByPK($object_id, $language_id = null, PropelPDO $con = null)
 {
     if ($language_id === null && strpos($object_id, '_') !== false) {
         $object_id = explode('_', $object_id);
         $language_id = $object_id[1];
         $object_id = $object_id[0];
     }
     return parent::retrieveByPK((int) $object_id, $language_id, $con);
 }
Esempio n. 2
0
 public static function setRightsUser($oUser = false)
 {
     self::$RIGHTS_USER = $oUser;
 }