Files
sterivein/core/lib/Thelia/Model/ModuleQuery.php
Etienne Roudeix ad47ab7cac set execution right // no more troubles
change composer required PHP version from 5.4 to 5.3
2013-06-20 15:21:16 +02:00

33 lines
682 B
PHP
Executable File

<?php
namespace Thelia\Model;
use Thelia\Model\om\BaseModuleQuery;
/**
* Skeleton subclass for performing query and update operations on the 'module' table.
*
*
*
* You should add additional methods to this class to meet the
* application requirements. This class will only be generated as
* long as it does not already exist in the output directory.
*
* @package propel.generator.Thelia.Model
*/
class ModuleQuery extends BaseModuleQuery
{
/**
* @return array|mixed|\PropelObjectCollection
*/
public static function getActivated()
{
return self::create()
->filterByActivate(1)
->find()
;
}
}