From 234c70d317816a406989e9b6c015a6b4c3b9c22f Mon Sep 17 00:00:00 2001 From: Antonio de la Rosa Date: Mon, 20 Apr 2015 18:00:53 +0200 Subject: [PATCH] Added documentation in code --- src/View.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/View.php b/src/View.php index 5f50198..86efae0 100644 --- a/src/View.php +++ b/src/View.php @@ -168,7 +168,9 @@ class View { } /** + * Method for create a url for access files via .php script * + * @param string $path_file The relative path of file with respect to $folder_end.'/'.$path_media */ public function dynamicGetMediaUrl($path_file) @@ -179,6 +181,9 @@ class View { } /** + * Method for create a url for access files via http server + * + * @param string $path_file The relative path of file with respect to $folder_end.'/'.$path_media * */ @@ -190,7 +195,9 @@ class View { } /** + * Method for change the method for access to media files. * + * @param boolean $value Set the production property.If true then access to media files directly, if false, access to media files via specified .php script */ public function setProduction($value=1)