本文整理汇总了PHP中Tinebase_Backend_Sql_Abstract::_rawDataToRecord方法的典型用法代码示例。如果您正苦于以下问题:PHP Tinebase_Backend_Sql_Abstract::_rawDataToRecord方法的具体用法?PHP Tinebase_Backend_Sql_Abstract::_rawDataToRecord怎么用?PHP Tinebase_Backend_Sql_Abstract::_rawDataToRecord使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Tinebase_Backend_Sql_Abstract
的用法示例。
在下文中一共展示了Tinebase_Backend_Sql_Abstract::_rawDataToRecord方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: _rawDataToRecord
/**
* converts raw data from adapter into a single record
*
* @param array $_data
* @return Tinebase_Record_Abstract
*/
protected function _rawDataToRecord(array $_rawData)
{
$event = parent::_rawDataToRecord($_rawData);
$this->appendForeignRecordSetToRecord($event, 'attendee', 'id', Calendar_Backend_Sql_Attendee::FOREIGNKEY_EVENT, $this->_attendeeBackend);
return $event;
}
示例2: _rawDataToRecord
/**
* converts raw data from adapter into a single record
*
* @param array $_data
* @return Tinebase_Record_Abstract
*/
protected function _rawDataToRecord(array $_rawData)
{
$_rawData['rrule_constraints'] = Tinebase_Helper::is_json($_rawData['rrule_constraints']) ? json_decode($_rawData['rrule_constraints'], true) : NULL;
$event = parent::_rawDataToRecord($_rawData);
$this->appendForeignRecordSetToRecord($event, 'attendee', 'id', Calendar_Backend_Sql_Attendee::FOREIGNKEY_EVENT, $this->_attendeeBackend);
return $event;
}
示例3: _rawDataToRecord
/**
* converts raw data from adapter into a single record
*
* @param array $_rawData
* @return Tinebase_Record_Abstract
*/
protected function _rawDataToRecord(array $_rawData)
{
if (isset($_rawData['structure'])) {
$_rawData['structure'] = Zend_Json::decode($_rawData['structure']);
}
$result = parent::_rawDataToRecord($_rawData);
return $result;
}