Esempio n. 1
0
 /**
  * Answer a component for a Single-valued Part
  * 
  * @param object PartStructure $partStruct
  * @return object WizardComponent
  * @access public
  * @since 10/26/05
  */
 function getSingleValuedPartStructComponent($partStruct)
 {
     $property = new WVerifiedChangeInput();
     $property->setInputComponent($this->getComponentForPartStruct($partStruct));
     // 		$property->setErrorText("<nobr>"._("A value for this field is required.")."</nobr>");
     // 		$property->setErrorRule(new WECNonZeroRegex("[\\w]+"));
     return $property;
 }
 /**
  * Create a new VerifiedChangeInput with the component specified
  * 
  * @param object WComponent $input
  * @return object
  * @access public
  * @since 10/20/05
  */
 function withInputComponent($input)
 {
     $obj = new WVerifiedChangeInput();
     $obj->setInput($input);
     return $obj;
 }