registerFilter example

$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);
    }

    /** * Unregisters a prefilter function * * @param callable $function */
    public function unregister_prefilter($function)
    {
        $this->unregisterFilter('pre', $function);
    }

    
Home | Imprint | This part of the site doesn't use cookies.