@@ 750-752 (lines=3) @@ | ||
747 | // ensure config class is set to something |
|
748 | $config_class = $this->_set_config_class($config_class, $name); |
|
749 | // run tests 1-4, 6, and 7 to verify all config params are set and valid |
|
750 | if (! $this->_verify_config_params($section, $name, $config_class, null, array(1, 2, 3, 4, 5, 6))) { |
|
751 | return null; |
|
752 | } |
|
753 | $config_option_name = $this->_generate_config_option_name($section, $name); |
|
754 | // if the config option name hasn't been added yet to the list of option names we're tracking, then do so now |
|
755 | if (! isset($this->_addon_option_names[$config_option_name])) { |
|
@@ 808-810 (lines=3) @@ | ||
805 | // get class name of the incoming object |
|
806 | $config_class = get_class($config_obj); |
|
807 | // run tests 1-5 and 9 to verify config |
|
808 | if (! $this->_verify_config_params( |
|
809 | $section, |
|
810 | $name, |
|
811 | $config_class, |
|
812 | $config_obj, |
|
813 | array(1, 2, 3, 4, 7, 9) |
|
@@ 873-875 (lines=3) @@ | ||
870 | // ensure config class is set to something |
|
871 | $config_class = $this->_set_config_class($config_class, $name); |
|
872 | // run tests 1-4, 6 and 7 to verify that all params have been set |
|
873 | if (! $this->_verify_config_params($section, $name, $config_class, null, array(1, 2, 3, 4, 5, 6))) { |
|
874 | return null; |
|
875 | } |
|
876 | // now test if the requested config object exists, but suppress errors |
|
877 | if ($this->_verify_config_params($section, $name, $config_class, null, array(7, 8), false)) { |
|
878 | // config already exists, so pass it back |