Пример #1
0
 /**
  * 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;
 }