AloFramework documentation
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo
  • Download

Namespaces

  • Alo
    • Cache
    • CLI
    • Controller
    • Db
    • Exception
    • FileSystem
    • Session
    • Statics
    • Test
    • Validators
    • Windows
  • Controller
  • None
  • PHP

Classes

  • Service

Class Service

Windows service handler

Abstract
Namespace: Alo\Windows
Author: Art <a.molcanovas@gmail.com>
Located at sys/class/alo/windows/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

AloFramework documentation API documentation generated by ApiGen 2.8.0