original_string: 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());
      }
code: 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());
      }
code_tokens: 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 ( ) ) ; }
docstring: Processes a visibility change
  @param bool $oldvisibility
  @return bool
docstring_tokens: Processes a visibility change