Changeset 600
- Timestamp:
- 09/29/07 21:53:53 (1 year ago)
- Files:
-
- trunk/lib/jelix-scripts/templates/dao.xml.tpl (modified) (1 diff)
- trunk/lib/jelix-scripts/templates/dao.xml.tpl (modified) (1 diff)
- trunk/lib/jelix-scripts/templates/dao_empty.xml.tpl (modified) (1 diff)
- trunk/lib/jelix-scripts/templates/dao_empty.xml.tpl (modified) (1 diff)
- trunk/lib/jelix/dao/jDaoParser.class.php (modified) (1 diff)
- trunk/lib/jelix/dao/jDaoParser.class.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lib/jelix-scripts/templates/dao.xml.tpl
r386 r600 14 14 maxlength="" minlength="" regexp="" 15 15 sequence="" 16 update motif="" insertmotif="" selectmotif=""16 updatepattern="" insertpattern="" selectpattern="" 17 17 />--> 18 18 </record> trunk/lib/jelix-scripts/templates/dao.xml.tpl
r386 r600 14 14 maxlength="" minlength="" regexp="" 15 15 sequence="" 16 update motif="" insertmotif="" selectmotif=""16 updatepattern="" insertpattern="" selectpattern="" 17 17 />--> 18 18 </record> trunk/lib/jelix-scripts/templates/dao_empty.xml.tpl
r386 r600 9 9 maxlength="" minlength="" regexp="" 10 10 sequence="" 11 update motif="" insertmotif="" selectmotif=""11 updatepattern="" insertpattern="" selectpattern="" 12 12 />--> 13 13 </record> trunk/lib/jelix-scripts/templates/dao_empty.xml.tpl
r386 r600 9 9 maxlength="" minlength="" regexp="" 10 10 sequence="" 11 update motif="" insertmotif="" selectmotif=""11 updatepattern="" insertpattern="" selectpattern="" 12 12 />--> 13 13 </record> trunk/lib/jelix/dao/jDaoParser.class.php
r584 r600 331 331 // on ignore les attributs *pattern sur les champs PK et FK 332 332 if(!$this->isPK && !$this->isFK){ 333 // *motif attributes are deprecated since 1.0b3334 // TODO: remove support of *motif attributes in jelix 1.0335 336 333 if(isset($aParams['updatepattern'])) { 337 334 $this->updatePattern=(string)$aParams['updatepattern']; 338 }elseif(isset($aParams['updatemotif'])){339 $this->updatePattern=(string)$aParams['updatemotif'];340 335 } 341 336 342 337 if(isset($aParams['insertpattern'])) { 343 338 $this->insertPattern=(string)$aParams['insertpattern']; 344 }elseif(isset($aParams['insertmotif'])){345 $this->insertPattern=(string)$aParams['insertmotif'];346 339 } 347 340 348 341 if(isset($aParams['selectpattern'])) { 349 342 $this->selectPattern=(string)$aParams['selectpattern']; 350 }elseif(isset($aParams['selectmotif'])){351 $this->selectPattern=(string)$aParams['selectmotif'];352 343 } 353 344 } trunk/lib/jelix/dao/jDaoParser.class.php
r584 r600 331 331 // on ignore les attributs *pattern sur les champs PK et FK 332 332 if(!$this->isPK && !$this->isFK){ 333 // *motif attributes are deprecated since 1.0b3334 // TODO: remove support of *motif attributes in jelix 1.0335 336 333 if(isset($aParams['updatepattern'])) { 337 334 $this->updatePattern=(string)$aParams['updatepattern']; 338 }elseif(isset($aParams['updatemotif'])){339 $this->updatePattern=(string)$aParams['updatemotif'];340 335 } 341 336 342 337 if(isset($aParams['insertpattern'])) { 343 338 $this->insertPattern=(string)$aParams['insertpattern']; 344 }elseif(isset($aParams['insertmotif'])){345 $this->insertPattern=(string)$aParams['insertmotif'];346 339 } 347 340 348 341 if(isset($aParams['selectpattern'])) { 349 342 $this->selectPattern=(string)$aParams['selectpattern']; 350 }elseif(isset($aParams['selectmotif'])){351 $this->selectPattern=(string)$aParams['selectmotif'];352 343 } 353 344 }
