removed all files that are in the .gitignore
This commit is contained in:
28
app/main/model/systemstaticmodel.php
Normal file
28
app/main/model/systemstaticmodel.php
Normal file
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
/**
|
||||
* Created by PhpStorm.
|
||||
* User: exodus4d
|
||||
* Date: 07.06.15
|
||||
* Time: 18:16
|
||||
*/
|
||||
|
||||
namespace Model;
|
||||
|
||||
|
||||
class SystemStaticModel extends BasicModel {
|
||||
|
||||
protected $table = 'system_static';
|
||||
|
||||
/**
|
||||
* get systemStatic data as object
|
||||
* @return object
|
||||
*/
|
||||
public function getData(){
|
||||
|
||||
$systemStaticData = (object) [];
|
||||
$systemStaticData->security = $this->security;
|
||||
$systemStaticData->name = $this->name;
|
||||
|
||||
return $systemStaticData;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user