Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // No direct access to this file
- defined('_JEXEC') or die('Restricted access');
- class ShopModelCategories extends JModelItem
- {
- /**
- * @var object item
- */
- protected $items;
- public function getItems()
- {
- if (!isset($this->items))
- {
- $this->items = ShopHelper::getCategory();
- }
- return $this->items;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement