. */ class pts_run_option { var $command; var $arguments; var $descriptor; public function __construct($command, $pass_args = null, $command_descriptor = "") { $command = strtolower($command); if(empty($command_descriptor)) { $command_descriptor = $command; } else { $command_descriptor = strtolower($command_descriptor); } if(!empty($pass_args) && !is_array($pass_args)) { $pass_args = array($pass_args); } $this->command = $command; $this->arguments = $pass_args; $this->descriptor = $command_descriptor; } public function get_command() { return $this->command; } public function get_arguments() { return $this->arguments; } public function get_descriptor() { return $this->descriptor; } } ?>