コード例 #1
0
 /**
  * @see parent::getProps()
  */
 function getProps()
 {
     $props = parent::getProps();
     // DB Fields
     $props["code"] = "str notNull length|2";
     $props["libelle"] = "str notNull maxLength|50";
     return $props;
 }
コード例 #2
0
 /**
  * @see parent::getProps()
  */
 function getProps()
 {
     $props = parent::getProps();
     // DB Fields
     $props["code"] = "str notNull length|4 seekable show|0";
     $props["type"] = "str notNull length|2 seekable show|0";
     $props["libelle"] = "str notNull maxLength|250 seekable show|1";
     $props["note"] = "text";
     $props["inclu"] = "text";
     $props["exclu"] = "text";
     return $props;
 }