From 3a560dfe6fa757c9776915c45f62859aef412b19 Mon Sep 17 00:00:00 2001 From: Alexander Demidov Date: Fri, 25 Apr 2014 20:16:48 +0400 Subject: [PATCH] Correct PHP-Doc in FrontController for get PHPView. Add some methods into PHPView autocompletion interface (PHP-Doc). --- app/FrontController.php | 2 +- view/PHPView.php | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/app/FrontController.php b/app/FrontController.php index dc0e79a..a8ef935 100644 --- a/app/FrontController.php +++ b/app/FrontController.php @@ -69,7 +69,7 @@ class FrontController /** * * @param null $view - * @return iView + * @return PHPView */ public function getView($view = null) { diff --git a/view/PHPView.php b/view/PHPView.php index 877f7de..539a5df 100644 --- a/view/PHPView.php +++ b/view/PHPView.php @@ -14,6 +14,12 @@ * @method MsgViewHelper msg() msg(string $msg = null, string $type = null) Set a message to display for user in Layout * @method TitleViewHelper title() title(string $string = false) Append another section for TITLE of Layout * @method FormViewHelper form() form(string $form = null) Get form values from session + * @method LinkHeadViewHelper linkHead() linkHead($href = false, $rel = 'stylesheet', $type = 'text/css', $media = 'screen,projection,print') Append link tag (css file or other) into head section + * @method ScriptFooterViewHelper scriptFooter() scriptFooter($src = false, $type = 'text/javascript') Append script src (javascript or other) into footer section + * @method GroupedCssViewHelper groupedCss() groupedCss($relative_file_path = false) Append css into one file + * @method GroupedJsViewHelper groupedJs() groupedJs($relative_file_path = false) Append js into one file + * @method DescriptionViewHelper description() description(string $string = false) Set value of meta-tag description + * @method KeywordsViewHelper keywords() keywords(string $string = false) Set value of meta-tag keywords * */ class PHPView implements iView