end propel 2 migration

This commit is contained in:
Manuel Raynaud
2013-07-05 09:43:49 +02:00
parent 715e7ac294
commit 5fbb923e40
3 changed files with 19 additions and 4 deletions

View File

@@ -24,7 +24,6 @@
namespace Thelia\Core\Template\Loop; namespace Thelia\Core\Template\Loop;
use Propel\Runtime\ActiveQuery\Criteria; use Propel\Runtime\ActiveQuery\Criteria;
use Propel\Runtime\ActiveQuery\ModelCriteria;
use Thelia\Core\Template\Element\BaseLoop; use Thelia\Core\Template\Element\BaseLoop;
use Thelia\Core\Template\Element\LoopResult; use Thelia\Core\Template\Element\LoopResult;
use Thelia\Core\Template\Element\LoopResultRow; use Thelia\Core\Template\Element\LoopResultRow;

View File

@@ -28,6 +28,7 @@ class Customer extends BaseCustomer {
* @param int $countryId customer country id (from Country table) * @param int $countryId customer country id (from Country table)
* @param string $email customer email, must be unique * @param string $email customer email, must be unique
* @param string $plainPassword customer plain password, hash is made calling setPassword method. Not mandatory parameter but an exception is thrown if customer is new without password * @param string $plainPassword customer plain password, hash is made calling setPassword method. Not mandatory parameter but an exception is thrown if customer is new without password
* @param string $lang
* @param int $reseller * @param int $reseller
* @param null $sponsor * @param null $sponsor
* @param int $discount * @param int $discount

View File

@@ -13,9 +13,24 @@ An image from asset directory :
jQuery data: <span id="jquery_block"></span> jQuery data: <span id="jquery_block"></span>
</div> </div>
{loop type="category" name="catloop1" } <div>
<li>{$__COUNT__}/{$__TOTAL__} : {$ID} {$TITLE}</li> <p>Category loop example</p>
{/loop} <ul>
{loop type="category" name="catloop1"}
<li>{$__COUNT__}/{$__TOTAL__} : {$ID} {$TITLE}, children: {$NB_CHILD}
{ifloop rel="inner1"}
<ul>
{loop type="category" name="inner1" parent="{$ID}"}
<li>Sub cat {$ID} (parent is {$PARENT}): {$TITLE}</li>
{/loop}
</ul>
{/ifloop}
</li>
{/loop}
</ul>
</div>
<div> <div>