return $objs; } // denyable behavior public static function ignoreRights($bIgnore = true) { self::$IGNORE_RIGHTS = $bIgnore; } public static function isIgnoringRights() { return self::$IGNORE_RIGHTS || PHP_SAPI === "cli"; } public static function mayOperateOn($oUser, $mObject, $sOperation) { if ($oUser === null) { return false; } if ($oUser->getIsAdmin()) { return true; } return $oUser->hasRole("journal_entries"); } public static function mayOperateOnOwn($oUser, $mObject, $sOperation) { return true; } } // BaseJournalCommentPeer // This is the static code needed to register the TableMap for this table with the main Propel class. // BaseJournalCommentPeer::buildTableMap();