Wicked_Page::_getLinkConf PHP Method

_getLinkConf() protected method

Returns a link configuration for Text_Wiki.
protected _getLinkConf ( boolean $full = false ) : array
$full boolean @see Wicked::url()
return array A link configuration for Wiklink and Freelink rules.
    protected function _getLinkConf($full = false)
    {
        $view_url = Wicked::url('%s', $full)->setRaw(true)->add('referrer', $this->pageName());
        $view_url = str_replace(urlencode('%s'), '%s', $view_url);
        $create = $this->allows(Wicked::MODE_CREATE) ? 1 : 0;
        return array('pages' => $GLOBALS['wicked']->getPages(), 'view_url' => $view_url, 'new_url' => $create ? $view_url : false, 'new_text_pos' => false, 'css_new' => 'newpage', 'ext_chars' => true);
    }