Typolink

TypoLink with parameters

    /**
     * Returns a typoLink with parameters
     * - no_cache = 1
     * - action = $action
     *
     * @param string $label Link name
     * @param string $pid PID of target page
     * @param string $action what to do
     * @return string HTML code for link
     */
    function makeLink($label, $pid, $action) {
        $result = $this->cObj->getTypoLink(
        $label,
        $pid,
        array(
            $this->prefixId . '[action]' => $action,
            'no_cache' => '1'
            )
        );    
        return $result;
    }

Erstellt: 07/2010| Geändert: 10/2015