/**
  * Returns true if the passed {@link WizardComponent} validates against this rule.
  * @param ref object $component
  * @access public
  * @return boolean
  */
 function checkValue($component)
 {
     $value = $component->getAllValues();
     if (!strval($value)) {
         return false;
     }
     return parent::checkValue($component);
 }
 /**
  * Returns true if the passed {@link WizardComponent} validates against this rule.
  * @param ref object $component
  * @access public
  * @return boolean
  */
 function checkValue($component)
 {
     $value = $component->getAllValues();
     if (!strval($value) == '') {
         return true;
     } else {
         return parent::checkValue($component);
     }
 }