function get_parents_tree($prid) { $ci =& get_instance(); $ci->load->model('positionsmenu_model'); $list = transform2forest($ci->positionsmenu_model->get_list($prid), 'rid', 'parent'); $tarr_1 = array('' => $ci->config->item('crm_dropdown_empty')); $tarr_2 = parents_build($list, ''); $tarr_2 = is_array($tarr_2) ? $tarr_2 : array(); $tarr = $tarr_1 + $tarr_2; return $tarr; }
public function get_currcontroller() { return $this->a_currcontroller; } public function render_menu()