protected function process_visibility_change($oldvisibility) {
        // Store the current dependent settings visibility for comparison.
        $prevalue = $this->dependentsetting->get_visibility();
        // Set it regardless of whether we need to.
        $this->dependentsetting->set_visibility($this->setting->get_visibility());
        // Return true if it changed.
        return ($prevalue != $this->dependentsetting->get_visibility());
    }
protected function process_visibility_change($oldvisibility) {
        // Store the current dependent settings visibility for comparison.
        $prevalue = $this->dependentsetting->get_visibility();
        // Set it regardless of whether we need to.
        $this->dependentsetting->set_visibility($this->setting->get_visibility());
        // Return true if it changed.
        return ($prevalue != $this->dependentsetting->get_visibility());
    }
protected function process_visibility_change ( $ oldvisibility ) { // Store the current dependent settings visibility for comparison. $ prevalue = $ this -> dependentsetting -> get_visibility ( ) ; // Set it regardless of whether we need to. $ this -> dependentsetting -> set_visibility ( $ this -> setting -> get_visibility ( ) ) ; // Return true if it changed. return ( $ prevalue != $ this -> dependentsetting -> get_visibility ( ) ) ; }
Processes a visibility change
@param bool $oldvisibility
@return bool
Processes a visibility change