DOMCdataSection::__construct

(PHP 5, PHP 7) Constructs a new DOMCdataSection object public DOMCdataSection::__construct ( string $value ) Constructs a new CDATA node. This works like the DOMText class. Parameters: value The value of the CDATA node. If not supplied, an empty CDATA node is created. Examples: Creating a new DOMCdataSection object

DOMAttr::isId

(PHP 5, PHP 7) Checks if attribute is a defined ID public bool DOMAttr::isId ( void ) This function checks if the attribute is a defined ID. According to the DOM standard this requires a DTD which defines the attribute ID to be of type ID. You need to validate your document with DOMDocument::validate or DOMDocument::validateOnParse before using this function. Returns: Returns TRUE on success o

DOMAttr::__construct

(PHP 5, PHP 7) Creates a new DOMAttr object public DOMAttr::__construct ( string $name [, string $value ] ) Creates a new DOMAttr object. This object is read only. It may be appended to a document, but additional nodes may not be appended to this node until the node is associated with a document. To create a writable node, use DOMDocument::createAttribute. Parameters: name

win32_start_service

(PECL win32service SVN) Starts a service int win32_start_service ( string $servicename [, string $machine ] ) Attempts to start the named service. Usually requires administrative privileges. Parameters: servicename The short name of the service. machine Optional machine name. If omitted, the local machine is used. Re

win32_stop_service

(PECL win32service SVN) Stops a service int win32_stop_service ( string $servicename [, string $machine ] ) Stops a named service. Requires administrative privileges. Parameters: servicename The short name of the service. machine Optional machine name. If omitted, the local machine is used. Returns: Returns WIN

win32_start_service_ctrl_dispatcher

(PECL win32service SVN) Registers the script with the SCM, so that it can act as the service with the given name mixed win32_start_service_ctrl_dispatcher ( string $name ) When launched via the Service Control Manager, a service process is required to "check-in" with it to establish service monitoring and communication facilities. This function performs the check-in by spawning a thread to handle the lower-level communicatio

win32_query_service_status

(PECL win32service SVN) Queries the status of a service mixed win32_query_service_status ( string $servicename [, string $machine ] ) Queries the current status for a service, returning an array of information. Parameters: servicename The short name of the service. machine The optional machine name. If omitted, the local machine will be

win32_set_service_status

(PECL win32service SVN) Update the service status bool win32_set_service_status ( int $status [, int $checkpoint = 0 ] ) Informs the SCM of the current status of a running service. This call is only valid for a running service process. Parameters: status The service status code, one of WIN32_SERVICE_RUNNING, WIN32_SERVICE_STOPPED, WIN32_SERVICE_STOP_PENDING, WIN32_SERVIC

win32_get_last_control_message

(PECL win32service SVN) Returns the last control message that was sent to this service int win32_get_last_control_message ( void ) Returns the control code that was last sent to this service process. When running as a service you should periodically check this to determine if your service needs to stop running. Returns: Returns a control constant which will be one of the Win32Service Service Contr

win32_create_service

(PECL win32service SVN) Creates a new service entry in the SCM database mixed win32_create_service ( array $details [, string $machine ] ) Parameters: details An array of service details: machine The optional machine name on which you want to create a service. If omitted, it will use the local machine. Returns: R