public function run()
    {
        // Select the action to perform depending on the 'action' parameter.
        // Verification of the value of 'action' performed in self::preRun().
        $actions = $this->getAllowedActions();
        $pendingActionName = 'action' . $actions[$this->options['action']];
        if (method_exists($this, $pendingActionName)) {
            return $this->$pendingActionName();
        }
    }
public function run()
    {
        // Select the action to perform depending on the 'action' parameter.
        // Verification of the value of 'action' performed in self::preRun().
        $actions = $this->getAllowedActions();
        $pendingActionName = 'action' . $actions[$this->options['action']];
        if (method_exists($this, $pendingActionName)) {
            return $this->$pendingActionName();
        }
    }
public function run ( ) { // Select the action to perform depending on the 'action' parameter. // Verification of the value of 'action' performed in self::preRun(). $ actions = $ this -> getAllowedActions ( ) ; $ pendingActionName = 'action' . $ actions [ $ this -> options [ 'action' ] ] ; if ( method_exists ( $ this , $ pendingActionName ) ) { return $ this -> $ pendingActionName ( ) ; } }
Main script implementation.

@access public
@author Joel Bout, <joel.bout@tudor.lu>
@return void
Main script implementation .