created layout for fleet helper
This commit is contained in:
@@ -16,6 +16,52 @@ use Seat\Eseye\Exceptions\RequestFailedException;
|
||||
use App\library\Esi\Esi;
|
||||
|
||||
//Models
|
||||
use App\Models\Fleets\AllianceFleet;
|
||||
use App\Models\Fleets\AllianceFleetMember;
|
||||
|
||||
class FleetHelper {
|
||||
//Variables
|
||||
private $esi;
|
||||
|
||||
//Constructi
|
||||
public function __construct($charId) {
|
||||
//Declare a variable for use by the constructor
|
||||
$esiHelper = new Esi;
|
||||
|
||||
//Check for the ESI scope
|
||||
$check = $esiHelper->HaveEsiScope($charId, 'esi-fleets.read_fleet.v1');
|
||||
if($check) {
|
||||
//Setup the ESI authentication container
|
||||
$this->esi = $esiHelper->SetupEsiAuthentication();
|
||||
} else {
|
||||
$this->esi = null;
|
||||
}
|
||||
}
|
||||
|
||||
//Get fleet information
|
||||
public function GetFleetInfo($fleetId) {
|
||||
|
||||
}
|
||||
|
||||
//Get fleet members
|
||||
public function GetFleetMembers($fleetId) {
|
||||
|
||||
}
|
||||
|
||||
//Get fleet wings
|
||||
public function GetFleetWings($fleetId) {
|
||||
|
||||
}
|
||||
|
||||
//Update fleet time
|
||||
public function UpdateFleetTime($fleetId) {
|
||||
|
||||
}
|
||||
|
||||
//Update fleet character names
|
||||
public function UpdateFleetCharacters($fleetId) {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user