/** * Gets the keywords of the given test project * * @param int $tprojectID the test project id * @param int $keywordID [default = null] the optional keyword id * * @return array, every elemen is map with following structure: * id * keyword * notes **/ public function getKeywords($testproject_id) { $ids = $this->getKeywordIDsFor($testproject_id); return tlKeyword::getByIDs($this->db, $ids); }