mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-03 05:09:28 +00:00
43 lines
820 B
PHP
43 lines
820 B
PHP
<?php
|
|
/**
|
|
* File containing the ezcBaseStruct.
|
|
*
|
|
* @package Base
|
|
* @version 1.5
|
|
* @copyright Copyright (C) 2005-2008 eZ systems as. All rights reserved.
|
|
* @license http://ez.no/licenses/new_bsd New BSD License
|
|
*/
|
|
|
|
/**
|
|
* Base class for all struct classes.
|
|
*
|
|
* @package Base
|
|
* @version 1.5
|
|
*/
|
|
class ezcBaseStruct
|
|
{
|
|
/**
|
|
* Throws a BasePropertyNotFound exception.
|
|
*
|
|
* @param string $name
|
|
* @param mixed $value
|
|
* @ignore
|
|
*/
|
|
final public function __set( $name, $value )
|
|
{
|
|
throw new ezcBasePropertyNotFoundException( $name );
|
|
}
|
|
|
|
/**
|
|
* Throws a BasePropertyNotFound exception.
|
|
*
|
|
* @param string $name
|
|
* @ignore
|
|
*/
|
|
final public function __get( $name )
|
|
{
|
|
throw new ezcBasePropertyNotFoundException( $name );
|
|
}
|
|
}
|
|
?>
|