Tag: ZF

Updating Select Options and InArray Validator in Zend Form

When using Zend_Form’s multi-select with dynamically set options you need to make sure to update your options and the InArray validator accordingly when validating data using form->isValid(). In order to update selection options and update the InArray validator we need to first set the options, remove the currently set InArray validator and set it with […]

Zeitsynchronisation von Zend_Date mittels Zend_TimeSync und mehrerer TimeserverSynchronizing Zend_Date using Zend_TimeSync and multiple time servers

This post describes a simple approach to implement time synchronization using Zend_TimeSync for Zend_Date using multiple time servers. First of all you will need to create a new Zend_TimeSync instance, specifying a list of possible time servers. You may use the server pool provided by ntp.org for this purpose. In case you specifiy multiple servers […]