public function getFunctions()
    {
        $functions = array();
        if (null !== $this->_class) {
            $functions = get_class_methods($this->_class);
        } elseif (null !== $this->_object) {
            $functions = get_class_methods($this->_object);
        }

        return array_merge((array) $this->_functions, $functions);
    }
public function getFunctions()
    {
        $functions = array();
        if (null !== $this->_class) {
            $functions = get_class_methods($this->_class);
        } elseif (null !== $this->_object) {
            $functions = get_class_methods($this->_object);
        }

        return array_merge((array) $this->_functions, $functions);
    }
public function getFunctions ( ) { $ functions = array ( ) ; if ( null !== $ this -> _class ) { $ functions = get_class_methods ( $ this -> _class ) ; } elseif ( null !== $ this -> _object ) { $ functions = get_class_methods ( $ this -> _object ) ; } return array_merge ( ( array ) $ this -> _functions , $ functions ) ; }
Return a server definition array

Returns a list of all functions registered with {@link addFunction()},
merged with all public methods of the class set with {@link setClass()}
(if any).

@access public
@return array
Return a server definition array