/** * Returns a set of records identified by their id's * * @param array $_ids array of record identifiers * @return Tinebase_Record_RecordSet */ public function getMultiple($_ids) { $records = $this->_contentController->getMultiple($_ids); $firstRecord = $records->getFirstRecord(); if ($firstRecord) { // get tags / alarms if ($firstRecord->has('tags')) { Tinebase_Tags::getInstance()->getMultipleTagsOfRecords($records); } if ($firstRecord->has('alarms')) { $this->_contentController->getAlarms($records); } } return $records; }
/** * (non-PHPdoc) * @see Tinebase_Controller_Record_Abstract::getMultiple() */ public function getMultiple($_ids, $_ignoreACL = FALSE) { $result = parent::getMultiple($_ids, $_ignoreACL); $this->_removeHiddenListMembers($result); return $result; }
/** * Returns a set of records identified by their id's * * @param array $_ids array of record identifiers * @param bool $_ignoreACL don't check acl grants * @return Tinebase_Record_RecordSet of $this->_modelName */ public function getMultiple($_ids, $_ignoreACL = FALSE) { $records = parent::getMultiple($_ids, $_ignoreACL); $this->_doPrivateCleanup($records); return $records; }
/** * Returns a set of records identified by their id's * * @param array $_ids array of record identifiers * @param bool $_ignoreACL don't check acl grants * @return Tinebase_Record_RecordSet of $this->_modelName */ public function getMultiple($_ids, $_ignoreACL = false) { $events = parent::getMultiple($_ids, $_ignoreACL = false); if ($_ignoreACL !== true) { $this->_freeBusyCleanup($events, 'get'); } return $events; }