This commit is contained in:
fBrignoli
2011-09-14 16:06:00 +00:00
parent d72f4c82c8
commit cfd6d2a2ab
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 *