Conflicts: core/lib/Thelia/Core/Template/Loop/Config.php core/lib/Thelia/Core/Template/Loop/Product.php core/lib/Thelia/Tools/URL.php
15 lines
268 B
PHP
Executable File
15 lines
268 B
PHP
Executable File
<?php
|
|
|
|
namespace Thelia\Model;
|
|
|
|
use Thelia\Model\Base\Content as BaseContent;
|
|
use Thelia\Tools\URL;
|
|
|
|
class Content extends BaseContent
|
|
{
|
|
public function getUrl($locale)
|
|
{
|
|
return URL::getInstance()->retrieve('content', $this->getId(), $locale);
|
|
}
|
|
}
|