unregisterResource example


        $this->registerResource($type$functions);
    }

    /** * Unregisters a resource * * @param string $type name of resource */
    public function unregister_resource($type)
    {
        $this->unregisterResource($type);
    }

    /** * Registers a prefilter function to apply * to a template before compiling * * @param callable $function */
    public function register_prefilter($function)
    {
        $this->registerFilter('pre', $function);
    }
Home | Imprint | This part of the site doesn't use cookies.