public function HTMLGetTitle($html, $url, $outputMode = self::XML_OUTPUT_MODE, $textParams = null) { $this->CheckHTML($html, $url, $outputMode); $this->CheckParamType("AlchemyAPI_TextParams", $textParams); if (is_null($textParams)) { $textParams = new AlchemyAPI_TextParams(); } $textParams->setHtml($html); $textParams->setUrl($url); $textParams->setOutputMode($outputMode); return $this->POST("HTMLGetTitle", "html", $textParams); }