X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FZhClient.php;h=8bb36b231a897161d7efc83526ef1b9a5e2a3566;hb=5ce6ddebb4290124ddd875f4b02e1152c5a69019;hp=5404b696fb4a540e7f6f627d13dbd1fd22eba348;hpb=3b5750adb4c8bb376a7db5c471890b991060d03f;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/ZhClient.php b/includes/ZhClient.php index 5404b696fb..8bb36b231a 100644 --- a/includes/ZhClient.php +++ b/includes/ZhClient.php @@ -9,7 +9,10 @@ class ZhClient { /** * Constructor * - * @access private + * @param $host + * @param $port + * + * @return ZhClient */ function __construct( $host, $port ) { $this->mHost = $host; @@ -19,6 +22,8 @@ class ZhClient { /** * Check if connection to zhdaemon is successful + * + * @return bool */ function isconnected() { return $this->mConnected; @@ -28,6 +33,8 @@ class ZhClient { * Establish conncetion * * @access private + * + * @return bool */ function connect() { wfSuppressWarnings(); @@ -44,6 +51,8 @@ class ZhClient { * Query the daemon and return the result * * @access private + * + * @return string */ function query( $request ) { if ( !$this->mConnected ) {