function get_site_link() { if ($p = $this->_get_page()) { $this->site_link = reason_get_page_url($p); } else { parent::get_site_link(); } }
function init($type, $site = false) { parent::init($type, $site); $this->init_page_types(); }