@@ -20,6 +20,7 @@ |
||
| 20 | 20 | |
| 21 | 21 | /** |
| 22 | 22 | * @returns HttpAuthenticationA |
| 23 | + * @return HttpAuthenticationA |
|
| 23 | 24 | */ |
| 24 | 25 | public function getAuthentication() { |
| 25 | 26 | return $this->oAuth; |
@@ -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) { |
@@ -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 | } |
@@ -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 | } |
@@ -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 | } |
@@ -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 | } |