public function execute() {
    if (count($this->getInputParameters())) {
      if ($this->isSubmitComplete()) {
        $this->formValues = $this->getFormValues();
        $this->run();
      } else {
        $this->renderInputForm();
      }
    } else {
      $this->run();
    }
  }
public function execute() {
    if (count($this->getInputParameters())) {
      if ($this->isSubmitComplete()) {
        $this->formValues = $this->getFormValues();
        $this->run();
      } else {
        $this->renderInputForm();
      }
    } else {
      $this->run();
    }
  }
public function execute ( ) { if ( count ( $ this -> getInputParameters ( ) ) ) { if ( $ this -> isSubmitComplete ( ) ) { $ this -> formValues = $ this -> getFormValues ( ) ; $ this -> run ( ) ; } else { $ this -> renderInputForm ( ) ; } } else { $ this -> run ( ) ; } }
Executes the example, checks if the examples requires parameters and
request them before invoking run.
Executes the example checks if the examples requires parameters and request them before invoking run .