function convert() { $args = func_get_args(); $options = $this->conf_options; $options = sonots::parse_options($args, $options); // check_options if ($options['limit'] === "0") { $options['limit'] = NULL; } if ($options['cloud'] === 'off' || $options['cloud'] === 'false') { $options['cloud'] = FALSE; } //print_r($options); $plugin_tag = new PluginSonotsTag(); if ($options['cloud']) { $html = $plugin_tag->display_tagcloud($options['limit'], $options['related']); } else { $html = $plugin_tag->display_taglist($options['limit'], $options['related']); } return $html; }