PHP Classes

File: ANYEM_SHARED/anyem.utils/AnyemDateTimeUtilsImpl.php

Recommend this page to a friend!
  Classes of Anis Halayem  >  Anyem  >  ANYEM_SHARED/anyem.utils/AnyemDateTimeUtilsImpl.php  >  Download  
File: ANYEM_SHARED/anyem.utils/AnyemDateTimeUtilsImpl.php
Role: Class source
Content type: text/plain
Description: Class source
Class: Anyem
Exchange variable values between PHP servers
Author: By
Last change:
Date: 4 years ago
Size: 703 bytes
 

Contents

Class file image Download
<?php
require_once (__DIR__ . '/../anyem.utils/AnyemConfigReaderimpl.php');
require_once (
__DIR__ . '/../anyem.utils/IAnyemDateTimeUtils.php');
/**
 * Description of AnyemUtils
 *
 * @author Anis.Halayem
 */

class AnyemDateTimeUtilsImpl implements IAnyemDateTimeUtils{
    private static
$_initialized = FALSE;
   
    public static function
init() {
        if (
self::$_initialized === FALSE) {
           
$anyemConfigReader = new AnyemConfigReaderImpl (__DIR__ . '/../config/anyem_config_shared.properties');
           
date_default_timezone_set($anyemConfigReader->readConfig(self::DEFAULT_TIME_ZONE));
           
self::$_initialized = TRUE;
        }
    }
}
AnyemDateTimeUtilsImpl::init();


For more information send a message to info at phpclasses dot org.