Пример #1
0
 public static function getInstance()
 {
     if (!is_object(self::$_instance)) {
         self::$_instance = new VMMigrateHelperFilesystem();
     } else {
         //We store in UTC and use here of course also UTC
         $jnow = JFactory::getDate();
         self::$_instance->_now = $jnow->toSql();
     }
     return self::$_instance;
 }