protected function prepareCustomMessage(TeamSpeak3_Helper_String $mesg)
  {
    $args = array(
      "code" => $this->getCode(),
      "mesg" => $this->getMessage(),
      "line" => $this->getLine(),
      "file" => $this->getFile(),
    );

    return $mesg->arg($args)->toString();
  }
protected function prepareCustomMessage(TeamSpeak3_Helper_String $mesg)
  {
    $args = array(
      "code" => $this->getCode(),
      "mesg" => $this->getMessage(),
      "line" => $this->getLine(),
      "file" => $this->getFile(),
    );

    return $mesg->arg($args)->toString();
  }
protected function prepareCustomMessage ( TeamSpeak3_Helper_String $ mesg ) { $ args = array ( "code" => $ this -> getCode ( ) , "mesg" => $ this -> getMessage ( ) , "line" => $ this -> getLine ( ) , "file" => $ this -> getFile ( ) , ) ; return $ mesg -> arg ( $ args ) -> toString ( ) ; }
Prepares a custom error message by replacing pre-defined signs with given values.

@param  TeamSpeak3_Helper_String $mesg
@return TeamSpeak3_Helper_String
Prepares a custom error message by replacing pre - defined signs with given values .