function __construct($args) { if (!$this->response_format) { $this->response_format =& $this->comment_object_format; } parent::__construct($args); }
function __construct($args) { parent::__construct($args); if (preg_match('#/tags/#i', $this->path)) { $this->response_format =& $this->tag_object_format; } else { $this->response_format =& $this->category_object_format; } }
function __construct($args) { if (is_array($this->post_object_format) && isset($this->post_object_format['format'])) { $this->post_object_format['format'] = get_post_format_strings(); } if (!$this->response_format) { $this->response_format =& $this->post_object_format; } parent::__construct($args); }