function setupExposedBindings() { $myBindings = parent::setupExposedBindings(); $newValBinding = new WFBindingSetup('breadcrumbSetup', 'A WFBreadCrumbSetup object.'); $newValBinding->setReadOnly(true); $myBindings[] = $newValBinding; return $myBindings; }
function setupExposedBindings() { $myBindings = parent::setupExposedBindings(); $autoRedirectToUrlOnCompleteAll = new WFBindingSetup('autoRedirectToUrlOnCompleteAll', 'Automatically redirect to the given URL on completion of all uploads.', array(WFBinding::OPTION_VALUE_PATTERN => WFBinding::OPTION_VALUE_PATTERN_DEFAULT_PATTERN)); $autoRedirectToUrlOnCompleteAll->setBindingType(WFBindingSetup::WFBINDINGTYPE_MULTIPLE_PATTERN); $autoRedirectToUrlOnCompleteAll->setReadOnly(true); $myBindings[] = $autoRedirectToUrlOnCompleteAll; return $myBindings; }
function setupExposedBindings() { $myBindings = parent::setupExposedBindings(); $newValBinding = new WFBindingSetup('baseURL', 'The href value for the link.', 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(); $newValBinding = new WFBindingSetup('invocationPath', 'The invocation path of the module to include.', 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(); $newValBinding = new WFBindingSetup('value', 'The selected value for non-multiple select boxes.', 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(); // do we need this custom binding setup here? wasn't WFBINDINGTYPE_MULTIPLE_PATTERN moved to WFView? $newValBinding = new WFBindingSetup('value', 'The selected value for non-multiple select boxes.', array(WFBinding::OPTION_VALUE_PATTERN => WFBinding::OPTION_VALUE_PATTERN_DEFAULT_PATTERN)); $newValBinding->setReadOnly(true); $newValBinding->setBindingType(WFBindingSetup::WFBINDINGTYPE_MULTIPLE_PATTERN); $myBindings[] = $newValBinding; return $myBindings; }
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('value', 'The href value for the link.', 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('label', 'The label for the link. The label is what the viewer sees as the link text.', 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('title', 'The title for the link. The title is often rendered as a "tooltip" by browsers.', 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(); $newValBinding = new WFBindingSetup('value', 'The path to the image. Will be concatenated on baseDir.', 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('dataSrc', 'The path to the image, but loaded into data-src attribute. Will be concatenated on baseDir.', 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('filesystemPath', 'The path to the image on the filesystem. Will be concatenated on filesystemBasePath.', 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('baseDir', 'The base path to the image. Blank by default.', array(WFBindingSetup::WFBINDINGSETUP_PATTERN_OPTION_NAME => WFBindingSetup::WFBINDINGSETUP_PATTERN_OPTION_VALUE)); $newValBinding->setReadOnly(true); $newValBinding->setBindingType(WFBindingSetup::WFBINDINGTYPE_MULTIPLE_PATTERN); $myBindings[] = $newValBinding; $myBindings[] = new WFBindingSetup('filesystemBasePath', 'The base path to the image. Blank by default.'); $myBindings[] = new WFBindingSetup('width', 'The width in pixels of the image, or blank.'); $myBindings[] = new WFBindingSetup('height', 'The height in pixels of the image, or blank.'); $myBindings[] = new WFBindingSetup('alt', 'The alt tag.', array(WFBindingSetup::WFBINDINGSETUP_PATTERN_OPTION_NAME => WFBindingSetup::WFBINDINGSETUP_PATTERN_OPTION_VALUE)); $newValBinding = new WFBindingSetup('link', 'The url that the image should link to.', 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('srcWidth', 'Source image width.'); $newValBinding->setReadOnly(true); $myBindings[] = $newValBinding; $newValBinding = new WFBindingSetup('srcHeight', 'Source image height.'); $newValBinding->setReadOnly(true); $myBindings[] = $newValBinding; return $myBindings; }
function setupExposedBindings() { $myBindings = parent::setupExposedBindings(); $myBindings[] = new WFBindingSetup('values', 'The selected values for multiple select boxes.'); $newValBinding = new WFBindingSetup('contentValues', 'List of the VALUES of each item in the select box.', array(WFBindingSetup::WFBINDINGSETUP_INSERTS_NULL_PLACEHOLDER => false, WFBindingSetup::WFBINDINGSETUP_NULL_PLACEHOLDER => '')); $newValBinding->setReadOnly(true); $myBindings[] = $newValBinding; $newValBinding = new WFBindingSetup('contentLabels', 'List of the LABELS of each item in the select box.', array(WFBindingSetup::WFBINDINGSETUP_INSERTS_NULL_PLACEHOLDER => false, WFBindingSetup::WFBINDINGSETUP_NULL_PLACEHOLDER => 'Select...', WFBindingSetup::WFBINDINGSETUP_PATTERN_OPTION_NAME => WFBindingSetup::WFBINDINGSETUP_PATTERN_OPTION_VALUE)); $newValBinding->setBindingType(WFBindingSetup::WFBINDINGTYPE_MULTIPLE_PATTERN); $newValBinding->setReadOnly(true); $myBindings[] = $newValBinding; $newValBinding = new WFBindingSetup('options', 'List of the options (value => label) of each item in the select box.', array(WFBindingSetup::WFBINDINGSETUP_INSERTS_NULL_PLACEHOLDER => false, WFBindingSetup::WFBINDINGSETUP_NULL_PLACEHOLDER => 'Select...')); $newValBinding->setReadOnly(true); $myBindings[] = $newValBinding; return $myBindings; }
function setupExposedBindings() { $myBindings = parent::setupExposedBindings(); $myBindings[] = new WFBindingSetup('value', 'The value of the checkbox -- this will be either checkedValue or uncheckedValue depending on the checked status.'); $label = new WFBindingSetup('label', 'The label for the checkbox -- Text to label the checkbox with, or empty.', array(WFBinding::OPTION_VALUE_PATTERN => WFBinding::OPTION_VALUE_PATTERN_DEFAULT_PATTERN)); $label->setBindingType(WFBindingSetup::WFBINDINGTYPE_MULTIPLE_PATTERN); $label->setReadOnly(true); $myBindings[] = $label; $myBindings[] = new WFBindingSetup('checkedValue', 'The value of the checkbox to use if it is checked.'); $myBindings[] = new WFBindingSetup('uncheckedValue', 'The value of the checkbox to use if it is not checked.'); 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(); $newValBinding = new WFBindingSetup('label', 'The label for the radio -- Text to label the radio with, or empty.', array(WFBindingSetup::WFBINDINGSETUP_PATTERN_OPTION_NAME => WFBindingSetup::WFBINDINGSETUP_PATTERN_OPTION_VALUE)); $newValBinding->setBindingType(WFBindingSetup::WFBINDINGTYPE_MULTIPLE_PATTERN); $newValBinding->setReadOnly(true); $myBindings[] = $newValBinding; $myBindings[] = new WFBindingSetup('selectedValue', 'The value of the radio to use if it is selected.'); 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; }