original_string: public function add($setting) {
          if (!($setting instanceof admin_setting)) {
              debugging('error - not a setting instance');
              return false;
          }
  
          $name = $setting->name;
          if ($setting->plugin) {
              $name = $setting->plugin . $name;
          }
          $this->settings->{$name} = $setting;
          return true;
      }
code: public function add($setting) {
          if (!($setting instanceof admin_setting)) {
              debugging('error - not a setting instance');
              return false;
          }
  
          $name = $setting->name;
          if ($setting->plugin) {
              $name = $setting->plugin . $name;
          }
          $this->settings->{$name} = $setting;
          return true;
      }
code_tokens: public function add ( $ setting ) { if ( ! ( $ setting instanceof admin_setting ) ) { debugging ( 'error - not a setting instance' ) ; return false ; } $ name = $ setting -> name ; if ( $ setting -> plugin ) { $ name = $ setting -> plugin . $ name ; } $ this -> settings -> { $ name } = $ setting ; return true ; }
docstring: adds an admin_setting to this admin_settingpage
  
  not the same as add for admin_category. adds an admin_setting to this admin_settingpage. settings appear (on the settingpage) in the order in which they're added
  n.b. each admin_setting in an admin_settingpage must have a unique internal name
  
  @param object $setting is the admin_setting object you want to add
  @return bool true if successful, false if not
docstring_tokens: adds an admin_setting to this admin_settingpage