Horde_Registry_Api::methods PHP Method

methods() final public method

Return the list of active API methods.
final public methods ( ) : array
return array List of active API methods.
    public final function methods()
    {
        if (empty($this->_methods)) {
            $disabled = $this->disabled();
            $reflect = new ReflectionClass($this);
            foreach ($reflect->getMethods(ReflectionMethod::IS_PUBLIC) as $v) {
                if ($v->getDeclaringClass()->name != __CLASS__ && !in_array($v->name, $disabled)) {
                    $this->_methods[] = $v->name;
                }
            }
        }
        return $this->_methods;
    }