1
0
mirror of https://github.com/xPaw/PHP-Source-Query.git synced 2026-05-18 14:33:34 +02:00

Add comments and fix whitespacing, no real changes

This commit is contained in:
xPaw
2012-10-25 15:54:39 +03:00
parent e27db7670f
commit bc9d574122
6 changed files with 925 additions and 897 deletions
+7
View File
@@ -1,4 +1,11 @@
<?php <?php
/**
* Class written by xPaw
*
* Website: http://xpaw.ru
* GitHub: https://github.com/xPaw/PHP-Source-Query-Class
*/
class SourceQueryBuffer class SourceQueryBuffer
{ {
/** /**
+7
View File
@@ -1,4 +1,11 @@
<?php <?php
/**
* Class written by xPaw
*
* Website: http://xpaw.ru
* GitHub: https://github.com/xPaw/PHP-Source-Query-Class
*/
class SourceQueryException extends Exception class SourceQueryException extends Exception
{ {
// Exception thrown by SourceQuery class // Exception thrown by SourceQuery class
+7
View File
@@ -1,4 +1,11 @@
<?php <?php
/**
* Class written by xPaw
*
* Website: http://xpaw.ru
* GitHub: https://github.com/xPaw/PHP-Source-Query-Class
*/
class SourceQueryRcon class SourceQueryRcon
{ {
/** /**
+7
View File
@@ -1,4 +1,11 @@
<?php <?php
/**
* Class written by xPaw
*
* Website: http://xpaw.ru
* GitHub: https://github.com/xPaw/PHP-Source-Query-Class
*/
class SourceQuerySocket class SourceQuerySocket
{ {
public $Socket; public $Socket;
+10 -10
View File
@@ -1,4 +1,14 @@
<?php <?php
/**
* Class written by xPaw
*
* Website: http://xpaw.ru
* GitHub: https://github.com/xPaw/PHP-Source-Query-Class
*
* Special thanks to koraktor for his awesome Steam Condenser class,
* I used it as a reference at some points.
*/
if( !defined( '__DIR__' ) ) // PHP < 5.3 if( !defined( '__DIR__' ) ) // PHP < 5.3
{ {
define( '__DIR__', dirname( __FILE__ ) ); define( '__DIR__', dirname( __FILE__ ) );
@@ -11,16 +21,6 @@ require __DIR__ . '/Rcon.class.php';
class SourceQuery class SourceQuery
{ {
/**
* Class written by xPaw
*
* Website: http://xpaw.ru
* GitHub: https://github.com/xPaw/PHP-Source-Query-Class
*
* Special thanks to koraktor for his awesome Steam Condenser class,
* I used it as a reference at some points.
*/
/** /**
* Values returned by GetChallenge() * Values returned by GetChallenge()
* *
+1 -1
View File
@@ -31,7 +31,7 @@
$Query->Disconnect( ); $Query->Disconnect( );
?> ?>
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html>
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>Source Query PHP Class</title> <title>Source Query PHP Class</title>