Interface PlatformInterface
Interface to the underlying platform
Direct known implementers
Nethgui\System\NethPlatformAuthor: Davide Principi davide.principi@nethesis.it
Since: 1.0
Api
Located at System/PlatformInterface.php
public
|
|
public
|
#
getIdentityAdapter( string|ArrayAccess $database, string $key, string $prop = NULL, string $separator = NULL )
Get an adapter for a "key" or "prop". |
public
|
#
getMapAdapter( callable $readCallback, callable $writeCallback, array $args )
Get a mapping Adapter. |
public
|
#
getTableAdapter( string $database, string $typeOrKey, string $filterOrProp = NULL, array $separators = NULL )
Get a table adapter |
public
|
|
public
|
|
public
|
|
public
|
|
public
string
|
|
public
array
|
|
public
|
integer |
SERVICESTATUS
A valid service status is a 'disabled' or 'enabled' string. |
#
1248968160
|
integer |
USERNAME
A valid *nix username token |
#
1248968161
|
integer |
NOTEMPTY
A not empty value |
#
1248968162
|
integer |
ANYTHING
Accepts any value |
#
1248968163
|
integer |
ANYTHING_COLLECTION
Accept a value that represents a collection of any thing |
#
1248968164
|
integer |
USERNAME_COLLECTION
Accept a value that represents a collection of any Unix usernames |
#
1248968165
|
integer |
POSITIVE_INTEGER
Accept positive integer |
#
1248968166
|
integer |
NONNEGATIVE_INTEGER
Accept a non-negative integer, an integer greater than or equal to zero |
#
1366805296
|
integer |
HOSTNAME
Valid generic hostname |
#
1248968167
|
integer |
HOSTNAME_SIMPLE
Valid simple hostname without domain part |
#
1334736972
|
integer |
HOSTNAME_FQDN
Valid hostname with domain part (FQDN) |
#
1334741642
|
integer |
HOSTADDRESS
Valid host name or ip address |
#
1248968168
|
integer |
DATE
Valid date |
#
1248968169
|
integer |
TIME
Valid time |
#
1248968170
|
integer |
BOOLEAN
Boolean validator. |
#
1248968171
|
integer |
IPv4
A valid IPv4 address like '192.168.1.1' |
#
1248968172
|
integer |
IPv4_OR_EMPTY
A valid IPv4 address like '192.168.1.1' ore empty |
#
1248968173
|
integer |
NETMASK_OR_EMPTY
A valid netmask address like '255.255.255.0' ore empty |
#
1365512893
|
integer |
IP
Alias for VALID_IPv4 |
#
1248968174
|
integer |
IP_OR_EMPTY
Alias for VALID_IPv4_OR_EMPTY |
#
1248968175
|
integer |
IPv4_NETMASK_OR_EMPTY
Alias for NETMASK_OR_EMPTY |
#
1365513038
|
integer |
PORTNUMBER
A valid TCP/UDP port number 0-65535 |
#
1248968176
|
integer |
YES_NO
A choice between 'yes' and 'no' values |
#
1248968177
|
integer |
IPv4_NETMASK
A valid ipv4 netmask address like '255.255.255.0' |
#
1248968178
|
integer |
NETMASK
Alias for VALID_IPv4_NETMASK |
#
1248968179
|
integer |
MACADDRESS
A valid mac address like 00:16:3E:78:7A:7B |
#
1248968180
|
integer |
EMAIL
Valid email address |
#
1340359603
|
integer |
EMPTYSTRING
An empty string |
#
1368694834
|
integer |
CIDR_BLOCK
CIDR block validator |
#
1402048238
|