@@ -25,7 +25,7 @@ |
||
| 25 | 25 | * @param string $sPath |
| 26 | 26 | * @return bool |
| 27 | 27 | */ |
| 28 | - public static function isValidMap ($sPath) { |
|
| 28 | + public static function isValidMap($sPath) { |
|
| 29 | 29 | return (basename($sPath) == 'map.php' && is_file($sPath)); |
| 30 | 30 | } |
| 31 | 31 | |
@@ -32,8 +32,7 @@ |
||
| 32 | 32 | * @param vscObject $mappedObject |
| 33 | 33 | * @return bool |
| 34 | 34 | */ |
| 35 | - public function maps(vscObject $mappedObject) |
|
| 36 | - { |
|
| 35 | + public function maps(vscObject $mappedObject) { |
|
| 37 | 36 | return (get_class($mappedObject) == $this->getPath()); |
| 38 | 37 | } |
| 39 | 38 | } |
@@ -24,6 +24,9 @@ |
||
| 24 | 24 | $this->sXmlString = $sString; |
| 25 | 25 | } |
| 26 | 26 | |
| 27 | + /** |
|
| 28 | + * @return string |
|
| 29 | + */ |
|
| 27 | 30 | public function getString() { |
| 28 | 31 | return $this->sXmlString; |
| 29 | 32 | } |
@@ -24,6 +24,9 @@ |
||
| 24 | 24 | $this->sXmlString = $sString; |
| 25 | 25 | } |
| 26 | 26 | |
| 27 | + /** |
|
| 28 | + * @return string |
|
| 29 | + */ |
|
| 27 | 30 | public function getString() { |
| 28 | 31 | return $this->sXmlString; |
| 29 | 32 | } |
@@ -24,6 +24,9 @@ |
||
| 24 | 24 | $this->sXmlString = $sString; |
| 25 | 25 | } |
| 26 | 26 | |
| 27 | + /** |
|
| 28 | + * @return string |
|
| 29 | + */ |
|
| 27 | 30 | public function getString() { |
| 28 | 31 | return $this->sXmlString; |
| 29 | 32 | } |
@@ -4,7 +4,7 @@ |
||
| 4 | 4 | $e = $model->getException(); |
| 5 | 5 | |
| 6 | 6 | $error = array( |
| 7 | - 'message' => $e->getCode().' '.$e->getMessage(), |
|
| 7 | + 'message' => $e->getCode() . ' ' . $e->getMessage(), |
|
| 8 | 8 | ); |
| 9 | 9 | |
| 10 | 10 | echo $this->outputModel($model); |
@@ -17,8 +17,9 @@ |
||
| 17 | 17 | <ul> |
| 18 | 18 | <?php |
| 19 | 19 | foreach (get_included_files() as $sFileName) { |
| 20 | - if (stristr($sFileName, 'map.php') && stristr($sFileName, $this->getMap()->getModuleName())) |
|
| 21 | - echo '<li>' . $sFileName . '</li>'; |
|
| 20 | + if (stristr($sFileName, 'map.php') && stristr($sFileName, $this->getMap()->getModuleName())) { |
|
| 21 | + echo '<li>' . $sFileName . '</li>'; |
|
| 22 | + } |
|
| 22 | 23 | }; |
| 23 | 24 | ?> |
| 24 | 25 | </ul> |
@@ -17,8 +17,9 @@ |
||
| 17 | 17 | <ul> |
| 18 | 18 | <?php |
| 19 | 19 | foreach (get_included_files() as $sFileName) { |
| 20 | - if (stristr($sFileName, 'map.php') && stristr($sFileName, $this->getMap()->getModuleName())) |
|
| 21 | - echo '<li>' . $sFileName . '</li>'; |
|
| 20 | + if (stristr($sFileName, 'map.php') && stristr($sFileName, $this->getMap()->getModuleName())) { |
|
| 21 | + echo '<li>' . $sFileName . '</li>'; |
|
| 22 | + } |
|
| 22 | 23 | }; |
| 23 | 24 | ?> |
| 24 | 25 | </ul> |