@@ -140,9 +140,12 @@ discard block |
||
| 140 | 140 | * Stored in ISO 8601 format. |
| 141 | 141 | * |
| 142 | 142 | * @param string|Zend_Date $<?=$column->getName() . "\n"?> |
| 143 | -<?php else: ?> |
|
| 143 | +<?php else { |
|
| 144 | + : ?> |
|
| 144 | 145 | * @param <?=$column->getType()?> $<?=$column->getName() . "\n"?> |
| 145 | -<?php endif; ?> |
|
| 146 | +<?php endif; |
|
| 147 | +} |
|
| 148 | +?> |
|
| 146 | 149 | * @return <?=$className . "\n"?> |
| 147 | 150 | */ |
| 148 | 151 | public function set<?=\Classes\Maker\AbstractMaker::getClassName($column->getName())?>($<?=$column->getName()?>) |
@@ -189,9 +192,12 @@ discard block |
||
| 189 | 192 | <?php if ($column->getType()=='date'): ?> |
| 190 | 193 | * @param boolean $returnZendDate |
| 191 | 194 | * @return Zend_Date|null|string Zend_Date representation of this datetime if enabled, or ISO 8601 string if not |
| 192 | -<?php else: ?> |
|
| 195 | +<?php else { |
|
| 196 | + : ?> |
|
| 193 | 197 | * @return <?=$column->getType() . "\n"?> |
| 194 | -<?php endif; ?> |
|
| 198 | +<?php endif; |
|
| 199 | +} |
|
| 200 | +?> |
|
| 195 | 201 | */ |
| 196 | 202 | public function get<?=\Classes\Maker\AbstractMaker::getClassName($column->getName())?>(<?php if ($column->getType()=='date'): ?>$returnZendDate = false <?php endif;?>) |
| 197 | 203 | { |
@@ -136,8 +136,7 @@ discard block |
||
| 136 | 136 | unset( $arrUrl ); |
| 137 | 137 | } |
| 138 | 138 | |
| 139 | - } |
|
| 140 | - else { |
|
| 139 | + } else { |
|
| 141 | 140 | $url = array ( |
| 142 | 141 | $this->baseLocation, |
| 143 | 142 | $driverBase, |
@@ -213,8 +212,7 @@ discard block |
||
| 213 | 212 | ); |
| 214 | 213 | if ( self::makeSourcer ( $file, $tpl, $objMakeFile->isOverwrite () ) ) { |
| 215 | 214 | ++$numFilesCreated; |
| 216 | - } |
|
| 217 | - else { |
|
| 215 | + } else { |
|
| 218 | 216 | ++$numFilesIgnored; |
| 219 | 217 | } |
| 220 | 218 | |
@@ -79,8 +79,7 @@ |
||
| 79 | 79 | $arg = getopt ( null, $arrValid ); |
| 80 | 80 | if ( array_key_exists ( 'init', $arg ) ) { |
| 81 | 81 | $maker = new \Classes\MakerConfigFile( $arg, $_path ); |
| 82 | - } |
|
| 83 | - else { |
|
| 82 | + } else { |
|
| 84 | 83 | $maker = new \Classes\MakerFile( new \Classes\Config( $arg, $_path, count ( $argv ) ) ); |
| 85 | 84 | } |
| 86 | 85 | |