-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathConfigurationsTable.php
More file actions
38 lines (36 loc) · 1010 Bytes
/
ConfigurationsTable.php
File metadata and controls
38 lines (36 loc) · 1010 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?php
/**
* CakeManager (http://cakemanager.org)
* Copyright (c) http://cakemanager.org
*
* Licensed under The MIT License
* For full copyright and license information, please see the LICENSE.txt
* Redistributions of files must retain the above copyright notice.
*
* @copyright Copyright (c) http://cakemanager.org
* @link http://cakemanager.org CakeManager Project
* @since 1.0
* @license http://www.opensource.org/licenses/mit-license.php MIT License
*/
namespace Settings\Model\Table;
use Cake\ORM\Table;
use Cake\Validation\Validator;
/**
* Configurations Model
*/
class ConfigurationsTable extends Table
{
/**
* Initialize method
*
* @param array $config The configuration for the Table.
* @return void
*/
public function initialize(array $config)
{
$this->setTable('settings_configurations');
$this->setDisplayField('id');
$this->setPrimaryKey('id');
$this->addBehavior('Timestamp');
}
}