/** * checks if given section exists, is active, and has content * @access public * @param integer $section * @return boolean **/ function Dwoo_Plugin_check_section(Dwoo $dwoo, $section_id) { global $page_id; $return = CAT_Sections::section_is_active($section_id); return $return; }
public function section_is_active($section_id) { return CAT_Sections::section_is_active($section_id); }