Changeset 600

Show
Ignore:
Timestamp:
09/29/07 21:53:53 (1 year ago)
Author:
laurentj
Message:

ticket #193: removed support of *motif attribute in jDao

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/jelix-scripts/templates/dao.xml.tpl

    r386 r600  
    1414        maxlength="" minlength="" regexp="" 
    1515        sequence="" 
    16         updatemotif="" insertmotif="" selectmotif="" 
     16        updatepattern="" insertpattern="" selectpattern="" 
    1717    />--> 
    1818    </record> 
  • trunk/lib/jelix-scripts/templates/dao.xml.tpl

    r386 r600  
    1414        maxlength="" minlength="" regexp="" 
    1515        sequence="" 
    16         updatemotif="" insertmotif="" selectmotif="" 
     16        updatepattern="" insertpattern="" selectpattern="" 
    1717    />--> 
    1818    </record> 
  • trunk/lib/jelix-scripts/templates/dao_empty.xml.tpl

    r386 r600  
    99        maxlength="" minlength="" regexp="" 
    1010        sequence="" 
    11         updatemotif="" insertmotif="" selectmotif="" 
     11        updatepattern="" insertpattern="" selectpattern="" 
    1212    />--> 
    1313    </record> 
  • trunk/lib/jelix-scripts/templates/dao_empty.xml.tpl

    r386 r600  
    99        maxlength="" minlength="" regexp="" 
    1010        sequence="" 
    11         updatemotif="" insertmotif="" selectmotif="" 
     11        updatepattern="" insertpattern="" selectpattern="" 
    1212    />--> 
    1313    </record> 
  • trunk/lib/jelix/dao/jDaoParser.class.php

    r584 r600  
    331331        // on ignore les attributs *pattern sur les champs PK et FK 
    332332        if(!$this->isPK && !$this->isFK){ 
    333             // *motif attributes are deprecated since  1.0b3 
    334             // TODO: remove support of *motif attributes in jelix 1.0 
    335  
    336333            if(isset($aParams['updatepattern'])) { 
    337334                $this->updatePattern=(string)$aParams['updatepattern']; 
    338             }elseif(isset($aParams['updatemotif'])){ 
    339                 $this->updatePattern=(string)$aParams['updatemotif']; 
    340335            } 
    341336 
    342337            if(isset($aParams['insertpattern'])) { 
    343338                $this->insertPattern=(string)$aParams['insertpattern']; 
    344             }elseif(isset($aParams['insertmotif'])){ 
    345                 $this->insertPattern=(string)$aParams['insertmotif']; 
    346339            } 
    347340 
    348341            if(isset($aParams['selectpattern'])) { 
    349342                $this->selectPattern=(string)$aParams['selectpattern']; 
    350             }elseif(isset($aParams['selectmotif'])){ 
    351                 $this->selectPattern=(string)$aParams['selectmotif']; 
    352343            } 
    353344        } 
  • trunk/lib/jelix/dao/jDaoParser.class.php

    r584 r600  
    331331        // on ignore les attributs *pattern sur les champs PK et FK 
    332332        if(!$this->isPK && !$this->isFK){ 
    333             // *motif attributes are deprecated since  1.0b3 
    334             // TODO: remove support of *motif attributes in jelix 1.0 
    335  
    336333            if(isset($aParams['updatepattern'])) { 
    337334                $this->updatePattern=(string)$aParams['updatepattern']; 
    338             }elseif(isset($aParams['updatemotif'])){ 
    339                 $this->updatePattern=(string)$aParams['updatemotif']; 
    340335            } 
    341336 
    342337            if(isset($aParams['insertpattern'])) { 
    343338                $this->insertPattern=(string)$aParams['insertpattern']; 
    344             }elseif(isset($aParams['insertmotif'])){ 
    345                 $this->insertPattern=(string)$aParams['insertmotif']; 
    346339            } 
    347340 
    348341            if(isset($aParams['selectpattern'])) { 
    349342                $this->selectPattern=(string)$aParams['selectpattern']; 
    350             }elseif(isset($aParams['selectmotif'])){ 
    351                 $this->selectPattern=(string)$aParams['selectmotif']; 
    352343            } 
    353344        } 
Download in other formats: Unified Diff Zip Archive