{ return self::$IGNORE_RIGHTS || PHP_SAPI === "cli"; } public static function setRightsUser($oUser = false) { self::$RIGHTS_USER = $oUser; } public static function getRightsUser($oUser = false) { if ($oUser === false) { $oUser = self::$RIGHTS_USER; } if ($oUser === false) { $oUser = Session::getSession()->getUser(); } return $oUser; } public static function mayOperateOn($oUser, $mObject, $sOperation) { return true; } public static function mayOperateOnOwn($oUser, $mObject, $sOperation) { return false; } } // BaseSearchIndexPeer // This is the static code needed to register the TableMap for this table with the main Propel class. // BaseSearchIndexPeer::buildTableMap();