26 lines
472 B
PHP
26 lines
472 B
PHP
<?php
|
|
/*
|
|
Author: Riccardo Di Dato
|
|
Creation Date: 13/gen/2016
|
|
*/
|
|
|
|
|
|
class SimpleConfig extends Model {
|
|
const VARIE_LABEL = "varie_home_label";
|
|
|
|
|
|
public function __construct($saveableObject = null) {
|
|
parent::__construct($saveableObject);
|
|
if (!$this->hasProperty("data") || !is_object($this->details)) {
|
|
$this->details = new stdClass();
|
|
}
|
|
}
|
|
|
|
public static function getCollectionName(){
|
|
return "simpleConfig";
|
|
}
|
|
|
|
}
|
|
|
|
|
|
?>
|