EZ-Components

This commit is contained in:
Andreas Österreicher
2009-02-17 15:27:43 +00:00
parent 359c3c55c9
commit 0a8e90a8b3
572 changed files with 64490 additions and 0 deletions
@@ -0,0 +1,23 @@
<?php
/**
* @package Base
* @subpackage Tests
* @version 1.5
* @copyright Copyright (C) 2005-2008 eZ systems as. All rights reserved.
* @license http://ez.no/licenses/new_bsd New BSD License
*/
/**
* Test class for ezcBaseInitTest.
*
* @package Base
* @subpackage Tests
*/
class testBaseInitCallback implements ezcBaseConfigurationInitializer
{
static public function configureObject( $objectToConfigure )
{
$objectToConfigure->configured = true;
}
}
?>
@@ -0,0 +1,31 @@
<?php
/**
* @package Base
* @subpackage Tests
* @version 1.5
* @copyright Copyright (C) 2005-2008 eZ systems as. All rights reserved.
* @license http://ez.no/licenses/new_bsd New BSD License
*/
/**
* Test class for ezcBaseInitTest.
*
* @package Base
* @subpackage Tests
*/
class testBaseInitClass
{
public $configured = false;
public static $instance;
public static function getInstance()
{
if ( is_null( self::$instance ) )
{
self::$instance = new testBaseInitClass();
ezcBaseInit::fetchConfig( 'testBaseInit', self::$instance );
}
return self::$instance;
}
}
?>