add Propel generated files

This commit is contained in:
Manuel Raynaud
2013-01-16 10:58:36 +01:00
parent 59e2b29e6a
commit c72c13551c
494 changed files with 251990 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
<?php
namespace Thelia\Model;
use Thelia\Model\om\BaseConfigQuery;
/**
* Skeleton subclass for performing query and update operations on the 'config' 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 ConfigQuery extends BaseConfigQuery
{
public static function read($search, $default)
{
$value = self::create()->findOneByName($search);
return $value ? $value->getValue() : $default;
}
}