public function BulletinGetTopicVersions($start, $end = false, $topic_item = false, $category_id = false) { // $start : UNIX timestamp // $end : UNIX timestamp (optional) // $topic_item : base:ItemVersionType (optional) // $category_id : base:IDType(string := integer) (optional) or this array $this->CheckAndSetHeader(__FUNCTION__); $reg_args = array(); $reg_args["start"] = gmdate(W3C_DATETIME_FORMAT, $start); if ($end !== false) { $reg_args["end"] = gmdate(W3C_DATETIME_FORMAT, $end); } if ($topic_item !== false) { $reg_args["topic_item"] = $this->getRegularArgs($topic_item, __FUNCTION__, "CbgrnItemVersionType"); } if ($category_id !== false) { $reg_args["category_id"] = $category_id; } $this->encodeString($reg_args); $results = parent::BulletinGetTopicVersions($reg_args); $this->methodClose(); return $this->RetvalConvertArray($results->topic_item); // returns array of stdClass }