public function set_showdivider($val, $label = '') {
        $this->showdivider = $val;
        if ($this->showdivider && empty($label)) {
            debugging('Navigation region requires a label', DEBUG_DEVELOPER);
        } else {
            $this->set_collectionlabel($label);
        }
    }
public function set_showdivider($val, $label = '') {
        $this->showdivider = $val;
        if ($this->showdivider && empty($label)) {
            debugging('Navigation region requires a label', DEBUG_DEVELOPER);
        } else {
            $this->set_collectionlabel($label);
        }
    }
public function set_showdivider ( $ val , $ label = '' ) { $ this -> showdivider = $ val ; if ( $ this -> showdivider && empty ( $ label ) ) { debugging ( 'Navigation region requires a label' , DEBUG_DEVELOPER ) ; } else { $ this -> set_collectionlabel ( $ label ) ; } }
Setter for "showdivider"
@param $val boolean
@param $label string Label for the group of nodes
Setter for showdivider