git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8595 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
fBrignoli
2011-09-14 16:06:00 +00:00
parent 1db441bc42
commit 8c049f8afd
3 changed files with 89 additions and 89 deletions
+3 -3
View File
@@ -1,6 +1,6 @@
<?php
/*
* 2007-2011 PrestaShop
* 2007-2011 PrestaShop
*
* NOTICE OF LICENSE
*
@@ -33,14 +33,14 @@ class ThemeCore extends ObjectModel
protected $fieldsValidate = array('name' => 'isGenericName');
protected $table = 'theme';
protected $identifier = 'id_theme';
public function getFields()
{
$this->validateFields();
$fields['name'] = pSQL($this->name);
return $fields;
}
public static function getThemes()
{
$sql = 'SELECT *