本文整理汇总了PHP中Meeting::setMeetingSectionDecisions方法的典型用法代码示例。如果您正苦于以下问题:PHP Meeting::setMeetingSectionDecisions方法的具体用法?PHP Meeting::setMeetingSectionDecisions怎么用?PHP Meeting::setMeetingSectionDecisions使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Meeting
的用法示例。
在下文中一共展示了Meeting::setMeetingSectionDecisions方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: Meeting
/**
* Internal function to return an meeting object from a row. Simplified
* not to include object settings.
* @param $row array
* @return Meeting
*/
function &_returnMeetingFromRow(&$row)
{
$meeting = new Meeting();
if (isset($row['meeting_id'])) {
$meeting->setId($row['meeting_id']);
}
if (isset($row['meeting_date'])) {
$meeting->setDate($row['meeting_date']);
}
if (isset($row['meeting_length'])) {
$meeting->setLength($row['meeting_length']);
}
if (isset($row['location'])) {
$meeting->setLocation($row['location']);
}
if (isset($row['investigator'])) {
$meeting->setInvestigator($row['investigator']);
}
if (isset($row['section_id'])) {
$meeting->setUploader($row['section_id']);
}
if (isset($row['minutes_status'])) {
$meeting->setMinutesStatus($row['minutes_status']);
}
if (isset($row['status'])) {
$meeting->setStatus($row['status']);
}
$meeting->setMeetingAttendances($this->meetingAttendanceDao->getMeetingAttendancesByMeetingId($row['meeting_id']));
$meeting->setMeetingSectionDecisions($this->meetingSectionDecisionDao->getMeetingSectionDecisionsByMeetingId($row['meeting_id']));
HookRegistry::call('MeetingDAO::_returnMeetingFromRow', array(&$meeting, &$row));
return $meeting;
}