summaryrefslogtreecommitdiff
path: root/modules/gallery/libraries/Gallery_View.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-09-28 19:30:34 -0700
committerBharat Mediratta <bharat@menalto.com>2009-09-28 19:30:34 -0700
commita0a62a09922d855cd87d35ccc42ea7cf407a8df7 (patch)
treee34be0ffd169fb9c1d9402f61a6e77e314d59059 /modules/gallery/libraries/Gallery_View.php
parentf9b351559c8ec826961fc17fc00c910133b4a43b (diff)
Do a pass on the gallery::find_file and Gallery_View::{script,css} PHPdoc.
Diffstat (limited to 'modules/gallery/libraries/Gallery_View.php')
-rw-r--r--modules/gallery/libraries/Gallery_View.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/gallery/libraries/Gallery_View.php b/modules/gallery/libraries/Gallery_View.php
index f3fa970b..253a314f 100644
--- a/modules/gallery/libraries/Gallery_View.php
+++ b/modules/gallery/libraries/Gallery_View.php
@@ -24,9 +24,9 @@ class Gallery_View_Core extends View {
/**
* Add a script to the combined scripts list.
- * @param $file the file name or path of the script to include. if a path is specified then
- * the location needs to be DOCROOT/lib. Just specifying a file name will result
- * in searching the hierarchical file system.
+ * @param $file the file name or path of the script to include. If a path is specified then
+ * it needs to be relative to DOCROOT. Just specifying a file name will result
+ * in searching Kohana's cascading file system.
*/
public function script($file) {
if (($path = gallery::find_file("js", $file, false))) {
@@ -47,9 +47,9 @@ class Gallery_View_Core extends View {
/**
* Add a css file to the combined css list.
- * @param $file the file name or path of a css file to include. if a path is specified then
- * the location needs to be DOCROOT/lib. Just specifying a file name will result
- * in searching the hierarchical file system.
+ * @param $file the file name or path of the script to include. If a path is specified then
+ * it needs to be relative to DOCROOT. Just specifying a file name will result
+ * in searching Kohana's cascading file system.
*/
public function css($file) {
if (($path = gallery::find_file("css", $file, false))) {