diff --git a/application/applicationcontext.class.inc.php b/application/applicationcontext.class.inc.php index 1f0fe8e94..30b2662ed 100644 --- a/application/applicationcontext.class.inc.php +++ b/application/applicationcontext.class.inc.php @@ -1,5 +1,5 @@ aNames = array( @@ -89,10 +119,11 @@ class ApplicationContext } } - + /** * Read the context directly in the PHP parameters (either POST or GET) - * return nothing + * + * @throws \Exception */ protected function ReadContext() { @@ -131,10 +162,13 @@ class ApplicationContext } $this->aValues = self::$aDefaultValues; } - + /** * Returns the current value for the given parameter + * * @param string $sParamName Name of the parameter to read + * @param string $defaultValue + * * @return mixed The value for this parameter */ public function GetCurrentValue($sParamName, $defaultValue = '') @@ -148,7 +182,7 @@ class ApplicationContext /** * Returns the context as string with the format name1=value1&name2=value2.... - * return string The context as a string to be appended to an href property + * @return string The context as a string to be appended to an href property */ public function GetForLink() { @@ -162,7 +196,7 @@ class ApplicationContext /** * Returns the context as sequence of input tags to be inserted inside a