protected _cmdGetScript ( string $scriptname ) : string | ||
$scriptname | string | Name of the script to retrieve. |
리턴 | string | The script. |
protected function _cmdGetScript($scriptname)
{
$this->_checkAuthenticated();
$result = $this->_doCmd(sprintf('GETSCRIPT %s', $this->_escape($scriptname)));
return preg_replace('/^{[0-9]+}\\r\\n/', '', $result);
}