コード例 #1
0
ファイル: Pgsql.php プロジェクト: rodrigofns/ExpressoLivre3
 public function __construct($_declaration)
 {
     $this->unsigned = false;
     //not accepted by PostgreSQL
     $this->_setField($_declaration);
     parent::__construct($_declaration);
 }
コード例 #2
0
ファイル: Xml.php プロジェクト: rodrigofns/ExpressoLivre3
 /**
  * constructor of this class
  *
  * @param string|SimpleXMLElement $_declaration the xml definition of the field
  */
 public function __construct($_declaration = NULL)
 {
     if ($_declaration instanceof SimpleXMLElement) {
         $this->_setField($_declaration);
     } elseif ($_declaration !== NULL) {
         $declaration = new SimpleXMLElement($_declaration);
         $this->_setField($declaration);
     }
     parent::__construct($_declaration);
 }
コード例 #3
0
 public function __construct($_declaration)
 {
     $this->_setField($_declaration);
     parent::__construct($_declaration);
 }