/**
* Constructor
*
- * @access private
+ * @param $host
+ * @param $port
+ *
+ * @return ZhClient
*/
function __construct( $host, $port ) {
$this->mHost = $host;
/**
* Check if connection to zhdaemon is successful
+ *
+ * @return bool
*/
function isconnected() {
return $this->mConnected;
* Establish conncetion
*
* @access private
+ *
+ * @return bool
*/
function connect() {
wfSuppressWarnings();
* Query the daemon and return the result
*
* @access private
+ *
+ * @return string
*/
function query( $request ) {
if ( !$this->mConnected ) {