private function _send($command, $outtype = X_Env::EXECUTE_OUT_NONE) { X_Env::debug(__METHOD__ . ": sending message {$command}"); $command = str_replace('{%command%}', $command, $this->nc_command); $return = X_Env::execute($command, $outtype, X_Env::EXECUTE_PS_WAIT); if ($outtype != X_Env::EXECUTE_OUT_NONE) { X_Env::debug("Reply:"); X_Env::debug(print_r($return, true)); } return $return; }
public function customAction() { X_Env::debug(__METHOD__); // azioni compiute dai plugin }