Example #1
0
 /**
  * It creates a new Field object class ir if it has been created
  * before, it return the previous object
  *
  * @access public
  * @since unknown
  * @return Field
  */
 public static function newInstance()
 {
     if (!self::$instance instanceof self) {
         self::$instance = new self();
     }
     return self::$instance;
 }