Changeset 888 for trunk/Modules/NetworkConfigRouterOS/SSH.php
- Timestamp:
- Nov 24, 2020, 10:58:56 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/NetworkConfigRouterOS/SSH.php
r874 r888 3 3 class SSH 4 4 { 5 var$HostName;6 var$UserName;7 var$Password;8 var$Methods;5 public string $HostName; 6 public string $UserName; 7 public string $Password; 8 public array $Methods; 9 9 10 10 function __construct($HostName = 'localhost', $UserName = 'admin', $Password = '') … … 13 13 $this->UserName = $UserName; 14 14 $this->Password = $Password; 15 $this->Methods = array(); 15 16 } 16 17 17 function Execute( $Commands)18 function Execute(array $Commands): array 18 19 { 19 20 echo($Commands);
Note:
See TracChangeset
for help on using the changeset viewer.