2014-09-24 23:24:51 +02:00
|
|
|
<?php
|
|
|
|
namespace Szurubooru\Entities;
|
|
|
|
|
|
|
|
class GlobalParam extends Entity
|
|
|
|
{
|
|
|
|
const KEY_FEATURED_POST = 'featuredPost';
|
2014-09-25 11:45:46 +02:00
|
|
|
const KEY_POST_SIZE = 'postSize';
|
|
|
|
const KEY_POST_COUNT = 'postCount';
|
2014-09-24 23:24:51 +02:00
|
|
|
|
|
|
|
private $key;
|
|
|
|
private $value;
|
|
|
|
|
|
|
|
public function getKey()
|
|
|
|
{
|
|
|
|
return $this->key;
|
|
|
|
}
|
|
|
|
|
|
|
|
public function setKey($key)
|
|
|
|
{
|
|
|
|
$this->key = $key;
|
|
|
|
}
|
|
|
|
|
|
|
|
public function getValue()
|
|
|
|
{
|
|
|
|
return $this->value;
|
|
|
|
}
|
|
|
|
|
|
|
|
public function setValue($value)
|
|
|
|
{
|
|
|
|
$this->value = $value;
|
|
|
|
}
|
|
|
|
}
|