PHP_UML
[ class tree: PHP_UML ] [ index: PHP_UML ] [ all elements ]

Source for file Enumeration.php

Documentation is available at Enumeration.php

  1. <?
  2. /**
  3.  * @category   PHP
  4.  * @package    PHP_UML
  5.  * @subpackage Metamodel
  6.  * @author     Baptiste Autin <ohlesbeauxjours@yahoo.fr> 
  7.  * @license    http://www.gnu.org/licenses/lgpl.html LGPL License 3
  8.  * @version    SVN: $Revision: 87 $
  9.  * @link       http://pear.php.net/package/PHP_UML
  10.  * @since      $Date: 2008-12-31 21:43:58 +0100 (mer., 31 déc. 2008) $
  11.  *
  12.  */
  13.  
  14. /**
  15.  * Meta-Enumeration
  16.  * Enumerates some basic PHP types.
  17.  *
  18.  */
  19. class PHP_UML_Metamodel_Enumeration
  20. {
  21.     /**
  22.      * Datatypes of the language
  23.      *
  24.      * @var array
  25.      */
  26.     static public $datatypes = array('mixed', 'array', 'string', 'int', 'integer',
  27.         'bool', 'boolean', 'float', 'void', 'null', 'object', 'resource');
  28.  
  29.     static public $interfaces = array('Iterator', 'Countable');
  30.     
  31.     static public $classes = array('Exception');
  32.     
  33.     /**
  34.      * Main file types. Used as stereotypes for qualifying the artifacts.
  35.      *
  36.      * @var array
  37.      */
  38.     static public $filetype = array('PHP File');
  39. }
  40. ?>

Documentation generated on Mon, 11 Mar 2019 15:28:10 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.