예제 #1
0
 function setupExposedBindings()
 {
     $myBindings = parent::setupExposedBindings();
     $myBindings[] = new WFBindingSetup('maxLength', 'The maxLength of the password field (in HTML).');
     $myBindings[] = new WFBindingSetup('size', 'The size of the password field (in HTML).');
     return $myBindings;
 }
예제 #2
0
 function setupExposedBindings()
 {
     $myBindings = parent::setupExposedBindings();
     $newValBinding = new WFBindingSetup('breadcrumbSetup', 'A WFBreadCrumbSetup object.');
     $newValBinding->setReadOnly(true);
     $myBindings[] = $newValBinding;
     return $myBindings;
 }
예제 #3
0
 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;
 }
예제 #4
0
 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;
 }
예제 #5
0
 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;
 }
예제 #6
0
파일: WFLink.php 프로젝트: ardell/phocoa
 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;
 }
예제 #7
0
파일: WFSelect.php 프로젝트: ardell/phocoa
 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;
 }
예제 #8
0
 function setupExposedBindings()
 {
     $myBindings = parent::setupExposedBindings();
     $myBindings[] = new WFBindingSetup('label', 'The text of the submit button.');
     return $myBindings;
 }
예제 #9
0
 function setupExposedBindings()
 {
     $myBindings = parent::setupExposedBindings();
     $myBindings[] = new WFBindingSetup('width', 'The width of the text area (as 100% or 250 for pixels).');
     $myBindings[] = new WFBindingSetup('height', 'The height of the text area (as 100% or 250 for pixels).');
     return $myBindings;
 }
예제 #10
0
 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;
 }
예제 #11
0
 function setupExposedBindings()
 {
     $myBindings = parent::setupExposedBindings();
     $myBindings[] = new WFBindingSetup('values', 'The values of the WFCheckboxes that should be selected.');
     return $myBindings;
 }
예제 #12
0
 function setupExposedBindings()
 {
     $myBindings = parent::setupExposedBindings();
     $myBindings[] = new WFBindingSetup('value', 'The value of the WFRadio that should be selected.');
     return $myBindings;
 }
예제 #13
0
 function setupExposedBindings()
 {
     $myBindings = parent::setupExposedBindings();
     return $myBindings;
 }
예제 #14
0
 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;
 }
예제 #15
0
 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;
 }
예제 #16
0
 function setupExposedBindings()
 {
     $myBindings = parent::setupExposedBindings();
     $myBindings[] = new WFBindingSetup('rows', 'The # of rows in the text area (in HTML).');
     $myBindings[] = new WFBindingSetup('columns', 'The # of columns in the text area (in HTML).');
     return $myBindings;
 }
예제 #17
0
 function setupExposedBindings()
 {
     $myBindings = parent::setupExposedBindings();
     $myBindings[] = new WFBindingSetup('value', 'The value of the hidden field.');
     return $myBindings;
 }