Changeset 923
- Timestamp:
- 05/04/08 22:51:54 (3 months ago)
- Files:
-
- branches/1.0.x/lib/jelix-scripts/commands/createdao.cmd.php (modified) (2 diffs)
- branches/1.0.x/lib/jelix-scripts/commands/createdao.cmd.php (modified) (2 diffs)
- branches/1.0.x/lib/jelix-scripts/commands/createdao.cmd.php (modified) (2 diffs)
- branches/1.0.x/lib/jelix-scripts/commands/createdao.cmd.php (modified) (2 diffs)
- branches/1.0.x/lib/jelix-scripts/jelix.php (modified) (1 diff)
- branches/1.0.x/lib/jelix-scripts/jelix.php (modified) (1 diff)
- branches/1.0.x/lib/jelix-scripts/jelix.php (modified) (1 diff)
- branches/1.0.x/lib/jelix-scripts/jelix.php (modified) (1 diff)
- trunk/lib/jelix-scripts/commands/createdao.cmd.php (modified) (2 diffs)
- trunk/lib/jelix-scripts/commands/createdao.cmd.php (modified) (2 diffs)
- trunk/lib/jelix-scripts/commands/createdao.cmd.php (modified) (2 diffs)
- trunk/lib/jelix-scripts/commands/createdao.cmd.php (modified) (2 diffs)
- trunk/lib/jelix-scripts/jelix.php (modified) (1 diff)
- trunk/lib/jelix-scripts/jelix.php (modified) (1 diff)
- trunk/lib/jelix-scripts/jelix.php (modified) (1 diff)
- trunk/lib/jelix-scripts/jelix.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.0.x/lib/jelix-scripts/commands/createdao.cmd.php
r661 r923 153 153 154 154 } 155 156 if($primarykeys == '') { 157 throw new Exception("The table has no primary keys. A dao needs a primary key on the table to be defined."); 158 } 159 155 160 $param['properties']=$properties; 156 161 $param['primarykeys']=$primarykeys; … … 160 165 } 161 166 162 163 ?>branches/1.0.x/lib/jelix-scripts/commands/createdao.cmd.php
r661 r923 153 153 154 154 } 155 156 if($primarykeys == '') { 157 throw new Exception("The table has no primary keys. A dao needs a primary key on the table to be defined."); 158 } 159 155 160 $param['properties']=$properties; 156 161 $param['primarykeys']=$primarykeys; … … 160 165 } 161 166 162 163 ?>branches/1.0.x/lib/jelix-scripts/commands/createdao.cmd.php
r661 r923 153 153 154 154 } 155 156 if($primarykeys == '') { 157 throw new Exception("The table has no primary keys. A dao needs a primary key on the table to be defined."); 158 } 159 155 160 $param['properties']=$properties; 156 161 $param['primarykeys']=$primarykeys; … … 160 165 } 161 166 162 163 ?>branches/1.0.x/lib/jelix-scripts/commands/createdao.cmd.php
r661 r923 153 153 154 154 } 155 156 if($primarykeys == '') { 157 throw new Exception("The table has no primary keys. A dao needs a primary key on the table to be defined."); 158 } 159 155 160 $param['properties']=$properties; 156 161 $param['primarykeys']=$primarykeys; … … 160 165 } 161 166 162 163 ?>branches/1.0.x/lib/jelix-scripts/jelix.php
r646 r923 106 106 $command->init($options,$parameters); 107 107 108 $command->run(); 108 try { 109 $command->run(); 110 }catch(Exception $e) { 111 echo "Error: ".$e->getMessage(),"\n"; 112 exit(1); 113 } 109 114 110 ?> 115 exit(0); 116 branches/1.0.x/lib/jelix-scripts/jelix.php
r646 r923 106 106 $command->init($options,$parameters); 107 107 108 $command->run(); 108 try { 109 $command->run(); 110 }catch(Exception $e) { 111 echo "Error: ".$e->getMessage(),"\n"; 112 exit(1); 113 } 109 114 110 ?> 115 exit(0); 116 branches/1.0.x/lib/jelix-scripts/jelix.php
r646 r923 106 106 $command->init($options,$parameters); 107 107 108 $command->run(); 108 try { 109 $command->run(); 110 }catch(Exception $e) { 111 echo "Error: ".$e->getMessage(),"\n"; 112 exit(1); 113 } 109 114 110 ?> 115 exit(0); 116 branches/1.0.x/lib/jelix-scripts/jelix.php
r646 r923 106 106 $command->init($options,$parameters); 107 107 108 $command->run(); 108 try { 109 $command->run(); 110 }catch(Exception $e) { 111 echo "Error: ".$e->getMessage(),"\n"; 112 exit(1); 113 } 109 114 110 ?> 115 exit(0); 116 trunk/lib/jelix-scripts/commands/createdao.cmd.php
r661 r923 153 153 154 154 } 155 156 if($primarykeys == '') { 157 throw new Exception("The table has no primary keys. A dao needs a primary key on the table to be defined."); 158 } 159 155 160 $param['properties']=$properties; 156 161 $param['primarykeys']=$primarykeys; … … 160 165 } 161 166 162 163 ?>trunk/lib/jelix-scripts/commands/createdao.cmd.php
r661 r923 153 153 154 154 } 155 156 if($primarykeys == '') { 157 throw new Exception("The table has no primary keys. A dao needs a primary key on the table to be defined."); 158 } 159 155 160 $param['properties']=$properties; 156 161 $param['primarykeys']=$primarykeys; … … 160 165 } 161 166 162 163 ?>trunk/lib/jelix-scripts/commands/createdao.cmd.php
r661 r923 153 153 154 154 } 155 156 if($primarykeys == '') { 157 throw new Exception("The table has no primary keys. A dao needs a primary key on the table to be defined."); 158 } 159 155 160 $param['properties']=$properties; 156 161 $param['primarykeys']=$primarykeys; … … 160 165 } 161 166 162 163 ?>trunk/lib/jelix-scripts/commands/createdao.cmd.php
r661 r923 153 153 154 154 } 155 156 if($primarykeys == '') { 157 throw new Exception("The table has no primary keys. A dao needs a primary key on the table to be defined."); 158 } 159 155 160 $param['properties']=$properties; 156 161 $param['primarykeys']=$primarykeys; … … 160 165 } 161 166 162 163 ?>trunk/lib/jelix-scripts/jelix.php
r646 r923 106 106 $command->init($options,$parameters); 107 107 108 $command->run(); 108 try { 109 $command->run(); 110 }catch(Exception $e) { 111 echo "Error: ".$e->getMessage(),"\n"; 112 exit(1); 113 } 109 114 110 ?> 115 exit(0); 116 trunk/lib/jelix-scripts/jelix.php
r646 r923 106 106 $command->init($options,$parameters); 107 107 108 $command->run(); 108 try { 109 $command->run(); 110 }catch(Exception $e) { 111 echo "Error: ".$e->getMessage(),"\n"; 112 exit(1); 113 } 109 114 110 ?> 115 exit(0); 116 trunk/lib/jelix-scripts/jelix.php
r646 r923 106 106 $command->init($options,$parameters); 107 107 108 $command->run(); 108 try { 109 $command->run(); 110 }catch(Exception $e) { 111 echo "Error: ".$e->getMessage(),"\n"; 112 exit(1); 113 } 109 114 110 ?> 115 exit(0); 116 trunk/lib/jelix-scripts/jelix.php
r646 r923 106 106 $command->init($options,$parameters); 107 107 108 $command->run(); 108 try { 109 $command->run(); 110 }catch(Exception $e) { 111 echo "Error: ".$e->getMessage(),"\n"; 112 exit(1); 113 } 109 114 110 ?> 115 exit(0); 116
