Пример #1
0
 /**
  * parent converts Tinebase_Record_RecordSet to external format
  * this resolves Image Paths
  * @TODO: Can be removed when "0000284: modlog of contact images / move images to vfs" is resolved.
  * @param  Tinebase_Record_RecordSet  $_records
  * @param  array $_resolveUserFields
  * @return mixed
  */
 public function fromTine20RecordSet(Tinebase_Record_RecordSet $_records, $_resolveUserFields = array())
 {
     if (count($_records) == 0) {
         return array();
     }
     Addressbook_Frontend_Json::resolveImages($_records);
     return parent::fromTine20RecordSet($_records, $_resolveUserFields);
 }
 /**
  * parent converts Tinebase_Record_RecordSet to external format
  * this resolves Image Paths
  * @TODO: Can be removed when "0000284: modlog of contact images / move images to vfs" is resolved.
  * 
  * @param Tinebase_Record_RecordSet  $_records
  * @param Tinebase_Model_Filter_FilterGroup $_filter
  * @param Tinebase_Model_Pagination $_pagination
  * @return mixed
  */
 public function fromTine20RecordSet(Tinebase_Record_RecordSet $_records = NULL, $_filter = NULL, $_pagination = NULL)
 {
     if (count($_records) == 0) {
         return array();
     }
     Addressbook_Frontend_Json::resolveImages($_records);
     return parent::fromTine20RecordSet($_records, $_filter, $_pagination);
 }
 /**
  * parent converts Tinebase_Record_RecordSet to external format
  * this resolves Image Paths
  *
  * @param Tinebase_Record_RecordSet  $_records
  * @param Tinebase_Model_Filter_FilterGroup $_filter
  * @param Tinebase_Model_Pagination $_pagination
  * @return mixed
  */
 public function fromTine20RecordSet(Tinebase_Record_RecordSet $_records = NULL, $_filter = NULL, $_pagination = NULL)
 {
     if (count($_records) == 0) {
         return array();
     }
     // TODO: Can be removed when "0000284: modlog of contact images / move images to vfs" is resolved.
     Addressbook_Frontend_Json::resolveImages($_records);
     $this->_appendRecordPaths($_records, $_filter);
     $result = parent::fromTine20RecordSet($_records, $_filter, $_pagination);
     return $result;
 }