Skip to content

Commit

Permalink
Formatting/lining up public vars for readability
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott Baker committed Aug 31, 2015
1 parent 624c924 commit e1b6e92
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions routeros_api.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,16 @@

class routeros_api
{
var $debug = false; // Show debug information
var $error_no; // Variable for storing connection error number, if any
var $error_str; // Variable for storing connection error text, if any
var $attempts = 5; // Connection attempt count
var $connected = false; // Connection state
var $delay = 3; // Delay between connection attempts in seconds
var $port = 8728; // Port to connect to
var $timeout = 3; // Connection attempt timeout and data read timeout
var $socket; // Variable for storing socket resource
var $debug = false; // Show debug information
var $connected = false; // Connection state
var $port = 8728; // Port to connect to
var $timeout = 3; // Connection attempt timeout and data read timeout
var $attempts = 5; // Connection attempt count
var $delay = 3; // Delay between connection attempts in seconds

var $socket; // Variable for storing socket resource
var $error_no; // Variable for storing connection error number, if any
var $error_str; // Variable for storing connection error text, if any

/* Check, can be var used in foreach */
function is_iterable($var)
Expand Down

0 comments on commit e1b6e92

Please sign in to comment.