Path

ez components / documentation / api reference / trunk / base


eZ Components trunk

Base

[ Tutorial ] [ Class tree ] [ Element index ] [ ChangeLog ] [ Credits ]

Source for file struct.php

Documentation is available at struct.php

 1. <?php
 2. /**
 3.  * File containing the ezcBaseStruct.
 4.  *
 5.  * @package Base
 6.  * @version //autogentag//
 7.  * @copyright Copyright (C) 2005-2009 eZ Systems AS. All rights reserved.
 8.  * @license http://ez.no/licenses/new_bsd New BSD License
 9.  */
10.  
11. /**
12.  * Base class for all struct classes.
13.  *
14.  * @package Base
15.  * @version //autogentag//
16.  */
17. class ezcBaseStruct
18. {
19.     /**
20.      * Throws a BasePropertyNotFound exception.
21.      *
22.      * @param string $name 
23.      * @param mixed $value 
24.      * @ignore
25.      */
26.     final public function __set$name$value )
27.     {
28.         throw new ezcBasePropertyNotFoundException$name );
29.     }
30.  
31.     /**
32.      * Throws a BasePropertyNotFound exception.
33.      *
34.      * @param string $name 
35.      * @ignore
36.      */
37.     final public function __get$name )
38.     {
39.         throw new ezcBasePropertyNotFoundException$name );
40.     }
41. }
42. ?>
Last updated: Mon, 21 Dec 2009