Пример #1
0
 /**
  * PrimaryKeyField constructor.
  */
 public function __construct()
 {
     parent::__construct();
     $this->min(1)->readOnly(true)->required(false);
 }
Пример #2
0
	function __construct ($name, $options = array()) {
		
		// Force some properties
		$options['null'] = false;
		$options['editable'] = false;
		
		// Call the default constructor
		parent::__construct($name, $options);
		
	}