url output in loops
This commit is contained in:
@@ -5,7 +5,8 @@ namespace Thelia\Model;
|
||||
use Thelia\Model\Base\Category as BaseCategory;
|
||||
use Propel\Runtime\ActiveQuery\Criteria;
|
||||
|
||||
class Category extends BaseCategory {
|
||||
class Category extends BaseCategory
|
||||
{
|
||||
/**
|
||||
* @return int number of child for the current category
|
||||
*/
|
||||
@@ -18,6 +19,7 @@ class Category extends BaseCategory {
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a new category.
|
||||
*
|
||||
|
||||
@@ -4,6 +4,10 @@ namespace Thelia\Model;
|
||||
|
||||
use Thelia\Model\Base\Content as BaseContent;
|
||||
|
||||
class Content extends BaseContent {
|
||||
class Content extends BaseContent
|
||||
{
|
||||
public function getUrl()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,6 +14,11 @@ class Folder extends BaseFolder
|
||||
return FolderQuery::countChild($this->getId());
|
||||
}
|
||||
|
||||
public function getUrl()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* count all products for current category and sub categories
|
||||
|
||||
@@ -5,5 +5,10 @@ namespace Thelia\Model;
|
||||
use Thelia\Model\Base\Product as BaseProduct;
|
||||
use Thelia\Model\ProductSaleElements;
|
||||
|
||||
class Product extends BaseProduct {
|
||||
class Product extends BaseProduct
|
||||
{
|
||||
public function getUrl()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user