Example #1
0
 /**
  * Get resources url
  *
  * @return string
  */
 public static function getResourcesUrl()
 {
     return ApplicationServiceLocator::getServiceLocator()->get('Config')['paths']['resource'] . '/';
 }
Example #2
0
 /**
  * Get time zones
  *
  * @return array
  */
 public static function getTimeZones()
 {
     $timeZoneModel = ApplicationServiceLocator::getServiceLocator()->get('Application\\Model\\ModelManager')->getInstance('Application\\Model\\ApplicationTimeZone');
     return $timeZoneModel->getTimeZones();
 }
 /**
  * Get captcha url
  *
  * @return string
  */
 public static function getCaptchaUrl()
 {
     return ApplicationServiceLocator::getServiceLocator()->get('Config')['paths']['captcha'] . '/';
 }