AloWAMP source documentation
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo
  • Download

Namespaces

  • None
  • PHP
  • Setup
  • VersionSwitch

Classes

  • cURL
  • Downloader
  • Format
  • Handler
  • IO
  • Router
  • Service
  • Settings
  • Setup

Functions

  • _echo
  • get

Class Service

Service handler

Abstract
Author:Art <a.molcanovas@gmail.com>
Located atcore/class/service.php

Methods summary

public static boolean
#exists(string$name)

Checks if a service exists

Checks if a service exists

Parameters

$name
string
$name Service name

Returns

boolean

Author

Art <a.molcanovas@gmail.com>
public static string
#delete(string$name)

Deletes a service

Deletes a service

Parameters

$name
string
$name Service name

Returns

string
shell_exec() output

Author

Art <a.molcanovas@gmail.com>
public static string
#stop(string$name)

Stops a service

Stops a service

Parameters

$name
string
$name Service name

Returns

string
shell_exec() output

Author

Art <a.molcanovas@gmail.com>
public static string
#start(string$name)

Starts a service

Starts a service

Parameters

$name
string
$name Service name

Returns

string
shell_exec() output

Author

Art <a.molcanovas@gmail.com>
public static string
#installExe(string$service_name,string$exe_path,null|string$display_name=null)

Installes a service from an executable

Installes a service from an executable

Parameters

$service_name
string
$service_name The name of the service
$exe_path
string
$exe_path Path to the executable
$display_name
null|string
$display_name Optionally, a custom display name for the service

Returns

string
shell_exec() output

Author

Art <a.molcanovas@gmail.com>

Magic methods summary

AloWAMP source documentation API documentation generated byApiGen 2.8.0