diff options
Diffstat (limited to 'modules/gallery/helpers/item.php')
| -rw-r--r-- | modules/gallery/helpers/item.php | 8 | 
1 files changed, 8 insertions, 0 deletions
| diff --git a/modules/gallery/helpers/item.php b/modules/gallery/helpers/item.php index 8da88b6e..d907a177 100644 --- a/modules/gallery/helpers/item.php +++ b/modules/gallery/helpers/item.php @@ -184,4 +184,12 @@ class item_Core {      return $model;    } + +  /** +   * Return the root Item_Model +   * @return Item_Model +   */ +  static function root() { +    return model_cache::get("item", 1); +  }  }
\ No newline at end of file | 
