Changeset 590

Show
Ignore:
Timestamp:
09/28/07 11:10:38 (1 year ago)
Author:
laurentj
Message:

fixed bug #283: optional parameter ctrlname on createdaocrud command was not optional. p=Bastien Jaillot

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.0beta3.x/lib/jelix-scripts/commands/createdaocrud.cmd.php

    r575 r590  
    33* @package     jelix-scripts 
    44* @author      Jouanneau Laurent 
    5 * @contributor  
     5* @contributor Bastien Jaillot (bug fix) 
    66* @copyright   2007 Jouanneau laurent 
    77* @link        http://www.jelix.org 
     
    4545 
    4646        $table = $this->getParam('table'); 
    47         $ctrlname = $this->getParam('ctrlname'); 
    48         if($ctrlname == null) 
    49             $ctrlname == $table; 
     47        $ctrlname = $this->getParam('ctrlname', $table); 
    5048 
    5149        if(file_exists($path.'controllers/'.$ctrlname.'.classic.php')){ 
  • branches/1.0beta3.x/lib/jelix-scripts/commands/createdaocrud.cmd.php

    r575 r590  
    33* @package     jelix-scripts 
    44* @author      Jouanneau Laurent 
    5 * @contributor  
     5* @contributor Bastien Jaillot (bug fix) 
    66* @copyright   2007 Jouanneau laurent 
    77* @link        http://www.jelix.org 
     
    4545 
    4646        $table = $this->getParam('table'); 
    47         $ctrlname = $this->getParam('ctrlname'); 
    48         if($ctrlname == null) 
    49             $ctrlname == $table; 
     47        $ctrlname = $this->getParam('ctrlname', $table); 
    5048 
    5149        if(file_exists($path.'controllers/'.$ctrlname.'.classic.php')){ 
  • branches/1.0beta3.x/lib/jelix-scripts/CREDITS

    r386 r590  
    1 Crédits 
     1Credits 
    22======= 
    33 
    4 Concepteur et développeur : Laurent Jouanneau 
     4Core team developers 
     5-------------------- 
    56 
    6 Contributeurs : 
    7   Loic Mathaud (bug fix) 
    8   Thiriot Christophe (clearcache) 
     7Laurent Jouanneau (laurentj): 
     8 - Conceptor and main developer of Jelix scripts 
     9 
     10Contributors 
     11------------ 
     12By alphabetic order on the name 
     13 
     14Bastien Jaillot 
     15  - bug fix on createdaocrud 
     16 
     17Thiriot Christophe  
     18  - clearcache command 
     19 
     20Loic Mathaud 
     21  - bug fix 
     22 
  • branches/1.0beta3.x/lib/jelix-scripts/CREDITS

    r386 r590  
    1 Crédits 
     1Credits 
    22======= 
    33 
    4 Concepteur et développeur : Laurent Jouanneau 
     4Core team developers 
     5-------------------- 
    56 
    6 Contributeurs : 
    7   Loic Mathaud (bug fix) 
    8   Thiriot Christophe (clearcache) 
     7Laurent Jouanneau (laurentj): 
     8 - Conceptor and main developer of Jelix scripts 
     9 
     10Contributors 
     11------------ 
     12By alphabetic order on the name 
     13 
     14Bastien Jaillot 
     15  - bug fix on createdaocrud 
     16 
     17Thiriot Christophe  
     18  - clearcache command 
     19 
     20Loic Mathaud 
     21  - bug fix 
     22 
  • trunk/lib/jelix-scripts/commands/createdaocrud.cmd.php

    r575 r590  
    33* @package     jelix-scripts 
    44* @author      Jouanneau Laurent 
    5 * @contributor  
     5* @contributor Bastien Jaillot (bug fix) 
    66* @copyright   2007 Jouanneau laurent 
    77* @link        http://www.jelix.org 
     
    4545 
    4646        $table = $this->getParam('table'); 
    47         $ctrlname = $this->getParam('ctrlname'); 
    48         if($ctrlname == null) 
    49             $ctrlname == $table; 
     47        $ctrlname = $this->getParam('ctrlname', $table); 
    5048 
    5149        if(file_exists($path.'controllers/'.$ctrlname.'.classic.php')){ 
  • trunk/lib/jelix-scripts/commands/createdaocrud.cmd.php

    r575 r590  
    33* @package     jelix-scripts 
    44* @author      Jouanneau Laurent 
    5 * @contributor  
     5* @contributor Bastien Jaillot (bug fix) 
    66* @copyright   2007 Jouanneau laurent 
    77* @link        http://www.jelix.org 
     
    4545 
    4646        $table = $this->getParam('table'); 
    47         $ctrlname = $this->getParam('ctrlname'); 
    48         if($ctrlname == null) 
    49             $ctrlname == $table; 
     47        $ctrlname = $this->getParam('ctrlname', $table); 
    5048 
    5149        if(file_exists($path.'controllers/'.$ctrlname.'.classic.php')){ 
  • trunk/lib/jelix-scripts/CREDITS

    r386 r590  
    1 Crédits 
     1Credits 
    22======= 
    33 
    4 Concepteur et développeur : Laurent Jouanneau 
     4Core team developers 
     5-------------------- 
    56 
    6 Contributeurs : 
    7   Loic Mathaud (bug fix) 
    8   Thiriot Christophe (clearcache) 
     7Laurent Jouanneau (laurentj): 
     8 - Conceptor and main developer of Jelix scripts 
     9 
     10Contributors 
     11------------ 
     12By alphabetic order on the name 
     13 
     14Bastien Jaillot 
     15  - bug fix on createdaocrud 
     16 
     17Thiriot Christophe  
     18  - clearcache command 
     19 
     20Loic Mathaud 
     21  - bug fix 
     22 
     23 
  • trunk/lib/jelix-scripts/CREDITS

    r386 r590  
    1 Crédits 
     1Credits 
    22======= 
    33 
    4 Concepteur et développeur : Laurent Jouanneau 
     4Core team developers 
     5-------------------- 
    56 
    6 Contributeurs : 
    7   Loic Mathaud (bug fix) 
    8   Thiriot Christophe (clearcache) 
     7Laurent Jouanneau (laurentj): 
     8 - Conceptor and main developer of Jelix scripts 
     9 
     10Contributors 
     11------------ 
     12By alphabetic order on the name 
     13 
     14Bastien Jaillot 
     15  - bug fix on createdaocrud 
     16 
     17Thiriot Christophe  
     18  - clearcache command 
     19 
     20Loic Mathaud 
     21  - bug fix 
     22 
     23 
Download in other formats: Unified Diff Zip Archive