Files
sterivein/core/lib/Thelia/Model/Content.php
franck 6387182026 Merge branch 'master' of https://github.com/thelia/thelia
Conflicts:
	core/lib/Thelia/Core/Template/Loop/Config.php
	core/lib/Thelia/Core/Template/Loop/Product.php
	core/lib/Thelia/Tools/URL.php
2013-09-04 17:34:23 +02:00

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);
}
}