@@ -29,6 +29,9 @@ |
||
29 | 29 | return $this->password; |
30 | 30 | } |
31 | 31 | |
32 | + /** |
|
33 | + * @param integer $iType |
|
34 | + */ |
|
32 | 35 | public static function getAuthenticationSchemas($iType) { |
33 | 36 | $aSchemas = array(); |
34 | 37 | if (($iType & self::BASIC) == self::BASIC) { |
@@ -63,6 +63,9 @@ |
||
63 | 63 | return array_merge($this->aTaintedVars, parent::getVars()); |
64 | 64 | } |
65 | 65 | |
66 | + /** |
|
67 | + * @param string $sVarName |
|
68 | + */ |
|
66 | 69 | public function getVar($sVarName) { |
67 | 70 | $mValue = parent::getVar($sVarName); |
68 | 71 | if (!$mValue) { |
@@ -8,6 +8,10 @@ |
||
8 | 8 | namespace vsc\presentation\responses; |
9 | 9 | |
10 | 10 | class HttpResponseType { |
11 | + |
|
12 | + /** |
|
13 | + * @param integer $iStatus |
|
14 | + */ |
|
11 | 15 | public static function getStatus($iStatus) { |
12 | 16 | return (is_int($iStatus) && array_key_exists($iStatus, static::$aStatusList)) ? static::$aStatusList[$iStatus] : static::$aStatusList[500]; |
13 | 17 | } |
@@ -8,7 +8,19 @@ |
||
8 | 8 | namespace vsc\presentation\views; |
9 | 9 | |
10 | 10 | interface RssViewInterface { |
11 | + |
|
12 | + /** |
|
13 | + * @return string |
|
14 | + */ |
|
11 | 15 | function getDescription(); |
16 | + |
|
17 | + /** |
|
18 | + * @return string |
|
19 | + */ |
|
12 | 20 | function getLanguage(); |
21 | + |
|
22 | + /** |
|
23 | + * @return string |
|
24 | + */ |
|
13 | 25 | function getLastBuildDate(); |
14 | 26 | } |
@@ -8,6 +8,10 @@ |
||
8 | 8 | namespace vsc\presentation\views; |
9 | 9 | |
10 | 10 | interface XmlViewInterface { |
11 | + |
|
12 | + /** |
|
13 | + * @return string |
|
14 | + */ |
|
11 | 15 | function getContent(); |
12 | 16 | |
13 | 17 | function getMetaHeaders(); |
@@ -30,6 +30,9 @@ |
||
30 | 30 | return $this->validContentTypes; |
31 | 31 | } |
32 | 32 | |
33 | + /** |
|
34 | + * @param string $sRequestMethod |
|
35 | + */ |
|
33 | 36 | public function validRequestMethod($sRequestMethod) { |
34 | 37 | return (in_array($sRequestMethod, $this->getValidRequestMethods())); |
35 | 38 | } |
@@ -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); |
@@ -18,8 +18,9 @@ |
||
18 | 18 | |
19 | 19 | <?php |
20 | 20 | foreach (get_included_files() as $sFileName) { |
21 | - if (stristr($sFileName, 'map.php') && stristr($sFileName, $this->getMap()->getModuleName())) |
|
22 | - echo "\t" . '- ' . $sFileName . "\n"; |
|
21 | + if (stristr($sFileName, 'map.php') && stristr($sFileName, $this->getMap()->getModuleName())) { |
|
22 | + echo "\t" . '- ' . $sFileName . "\n"; |
|
23 | + } |
|
23 | 24 | }; |
24 | 25 | ?> |
25 | 26 |
@@ -1,2 +1,2 @@ |
||
1 | 1 | <?php |
2 | -require_once (realpath(dirname(__FILE__).'/../xhtml/model.php')); |
|
3 | 2 | \ No newline at end of file |
3 | +require_once (realpath(dirname(__FILE__) . '/../xhtml/model.php')); |
|
4 | 4 | \ No newline at end of file |