/** * Remove an option * * @param string $name The name of the option, formatted like : <plugin>.<key> */ public static function delete($name) { list($plugin, $key) = explode('.', $name); OptionModel::deleteByExample(new DBExample(array('plugin' => $plugin, 'key' => $key))); }