Zend_TimeSync
static array
$options
= array(Configuration array, set using the constructor or using ::setOptions() or ::setOption()
array
$_allowedSchemes
= array(Allowed timeserver schemes
object
$_current
(line 64)
Holds a reference to the timeserver that is currently being used
array
$_timeservers
= array() (line 57)
Contains array of timeserver objects
Constructor __construct (line 93)
Zend_TimeSync constructor
addServer (line 141)
Add a timeserver or multiple timeservers
Server should be a single string representation of a timeserver, or a structured array listing multiple timeservers.
If you provide an array of timeservers in the $target variable, $alias will be ignored. you can enter these as the array key in the provided array, which should be structured as follows:
If no port number has been suplied, the default matching port number will be used.
Supported protocols are:
get (line 227)
Return a specified timeserver by alias
getCurrent (line 242)
Returns the timeserver that is currently set
getDate (line 272)
Query the timeserver list using the fallback mechanism
If there are multiple servers listed, this method will act as a facade and will try to return the date from the first server that returns a valid result.
getInfo (line 256)
Returns information sent/returned from the current timeserver
getIterator (line 106)
getIterator() - return an iteratable object for use in foreach and the like, this completes the IteratorAggregate interface
getOption (line 211)
Returns the value to the option
setCurrent (line 195)
Marks a nameserver as current
setOption (line 161)
Sets the value for a given option
This will replace any currently defined options.
setOptions (line 178)
Sets the value for the given options
This will replace any currently defined options.
_addServer (line 295)
Adds a timeserver object to the timeserver list
Documentation generated on Wed, 21 Feb 2007 12:03:05 -0800 by phpDocumentor 1.3.1