roundcubemail/plugins/managesieve/lib/Roundcube/rcube_sieve.php
public function get_script($name)
    {
        if (!$this->sieve)
            return $this->_set_error(self::ERROR_INTERNAL);

        $content = $this->sieve->getScript($name);

        if (is_a($content, 'PEAR_Error')) {
            return $this->_set_error(self::ERROR_OTHER);
        }

        return $content;
    }
public function get_script($name)
    {
        if (!$this->sieve)
            return $this->_set_error(self::ERROR_INTERNAL);

        $content = $this->sieve->getScript($name);

        if (is_a($content, 'PEAR_Error')) {
            return $this->_set_error(self::ERROR_OTHER);
        }

        return $content;
    }
public function get_script ( $ name ) { if ( ! $ this -> sieve ) return $ this -> _set_error ( self :: ERROR_INTERNAL ) ; $ content = $ this -> sieve -> getScript ( $ name ) ; if ( is_a ( $ content , 'PEAR_Error' ) ) { return $ this -> _set_error ( self :: ERROR_OTHER ) ; } return $ content ; }
Gets specified script as text
Gets specified script as text