function setupExposedBindings() { $myBindings = parent::setupExposedBindings(); $newValBinding = new WFBindingSetup('timezones', 'The array of timezone choices in WFSelect::setOptions() format.'); $newValBinding->setReadOnly(true); $myBindings[] = $newValBinding; $newValBinding = new WFBindingSetup('timezone', 'The DateTimeZone object corresponding to the value. This data is always the same as value->getTimezone() but is independently bindable for convenience.'); $newValBinding->setReadOnly(true); $myBindings[] = $newValBinding; return $myBindings; }
function setupExposedBindings() { $myBindings = parent::setupExposedBindings(); $newValBinding = new WFBindingSetup('menuItems', 'The menu items for the menu.'); $newValBinding->setReadOnly(true); $myBindings[] = $newValBinding; $newValBinding = new WFBindingSetup('menuItemsNestedArray', 'The menu items, in nested associative array format. Will be converted through WFMenuTree::nestedArrayToMenuTree().'); $newValBinding->setReadOnly(true); $myBindings[] = $newValBinding; $newValBinding = new WFBindingSetup('menuItemsMenuPath', 'The menu items, as an array of objects imlpementing WFMenuTreeBuilding. Will be converted through WFMenuTree::menuTreeBuildingToMenuTree().'); $newValBinding->setReadOnly(true); $myBindings[] = $newValBinding; return $myBindings; }
function setupExposedBindings() { $myBindings = parent::setupExposedBindings(); $newValBinding = new WFBindingSetup('header', 'The header HTML.', array(WFBindingSetup::WFBINDINGSETUP_PATTERN_OPTION_NAME => WFBindingSetup::WFBINDINGSETUP_PATTERN_OPTION_VALUE)); $newValBinding->setReadOnly(true); $newValBinding->setBindingType(WFBindingSetup::WFBINDINGTYPE_MULTIPLE_PATTERN); $myBindings[] = $newValBinding; $newValBinding = new WFBindingSetup('body', 'The body HTML.', array(WFBindingSetup::WFBINDINGSETUP_PATTERN_OPTION_NAME => WFBindingSetup::WFBINDINGSETUP_PATTERN_OPTION_VALUE)); $newValBinding->setReadOnly(true); $newValBinding->setBindingType(WFBindingSetup::WFBINDINGTYPE_MULTIPLE_PATTERN); $myBindings[] = $newValBinding; $newValBinding = new WFBindingSetup('footer', 'The footer HTML.', array(WFBindingSetup::WFBINDINGSETUP_PATTERN_OPTION_NAME => WFBindingSetup::WFBINDINGSETUP_PATTERN_OPTION_VALUE)); $newValBinding->setReadOnly(true); $newValBinding->setBindingType(WFBindingSetup::WFBINDINGTYPE_MULTIPLE_PATTERN); $myBindings[] = $newValBinding; return $myBindings; }
function setupExposedBindings() { $myBindings = parent::setupExposedBindings(); return $myBindings; }
function setupExposedBindings() { $myBindings = parent::setupExposedBindings(); $newValBinding = new WFBindingSetup('datasourceJSArray', 'The array of items for DATASOURCE_JS_ARRAY mode.'); $newValBinding->setReadOnly(true); $myBindings[] = $newValBinding; return $myBindings; }