예제 #1
0
파일: Field.php 프로젝트: mylastof/os-class
 /**
  * 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;
 }