public function getOptions() { $s = $this->_getOnestructurefactory()->createOneStructure('data'); $s->startSection('sections', ffOneSection::TYPE_REPEATABLE_VARIABLE)->addParam('section-picker', 'advanced'); ff_load_nonstandard_section_options('/framework/components/sectionIncluding.php', $s); $s->endSection(); return $s; }
function ff_load_section_options($sectionName, ffOneStructure $s, $params = array()) { $relativePath = ff_get_section_path($sectionName); if ($relativePath == null) { throw new ffException('Cannot load section options for :' . ff_wp_kses($sectionName)); } ff_load_nonstandard_section_options($relativePath, $s, $params); }
public function getOptions() { $s = $this->_getOnestructurefactory()->createOneStructure('layout'); $s->startSection('sections', ffOneSection::TYPE_REPEATABLE_VARIABLE)->addParam('section-picker', 'advanced'); ff_load_nonstandard_section_options('/framework/components/sectionIncluding.php', $s); $s->endSection(); //ffContainer()->getFileSystem()->copy($source, $destination); return $s; }