32 abstract function getById($sectionId, $contextId =
null);
42 $section->setReviewFormId($row[
'review_form_id']);
43 $section->setEditorRestricted($row[
'editor_restricted']);
44 $section->setSequence($row[
'seq']);
54 return array_merge(parent::getLocaleFieldNames(), array(
'title',
'policy'));
62 return $this->
deleteById($section->getId(), $section->getContextId());
70 abstract function deleteById($sectionId, $contextId =
null);
79 while ($section = $sections->next()) {
92 abstract function getByContextId($contextId, $rangeInfo =
null, $submittableOnly =
false);
103 $sectionsIterator = $this->
getByContextId($contextId,
null, $submittableOnly);
104 while ($section = $sectionsIterator->next()) {
105 $sections[$section->getId()] = $section->getLocalizedTitle();