root/trunk/midcom/midcom.helper.schemaapi/supertype.php
| Revision 14086, 0.7 kB (checked in by flack, 10 months ago) |
|---|
| Line | |
|---|---|
| 1 | <?php |
| 2 | /** |
| 3 | * @package midcom.helper.schemaapi |
| 4 | * @author The Midgard Project, http://www.midgard-project.org |
| 5 | * @copyright The Midgard Project, http://www.midgard-project.org |
| 6 | * @license http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public License |
| 7 | */ |
| 8 | |
| 9 | /** |
| 10 | * Types and widgets use the same overarching interface so no need for different classes there. |
| 11 | * |
| 12 | * @package midcom.helper.schemaapi |
| 13 | */ |
| 14 | class midcom_helper_schemaapi_supertype { |
| 15 | |
| 16 | protected $name; |
| 17 | protected $config = array( ); |
| 18 | public function __construct( $name ) |
| 19 | { |
| 20 | $this->name = $name; |
| 21 | } |
| 22 | |
| 23 | public function get_name( ) |
| 24 | { |
| 25 | return $this->name; |
| 26 | } |
| 27 | |
| 28 | public function get_config( ) |
| 29 | { |
| 30 | return $this->config; |
| 31 | } |
| 32 | } |
| 33 |
Note: See TracBrowser for help on using the browser.
