working setting type SET in MC settings menu

This commit is contained in:
Steffen Schröder
2014-05-18 23:35:39 +02:00
parent cb5ad4e077
commit 5cf86b2025
4 changed files with 191 additions and 102 deletions

View File

@ -123,6 +123,15 @@ class Setting {
return null;
}
/**
* Get whether the Setting has been persisted at some point
*
* @return bool
*/
public function isPersisted() {
return ($this->index > 0);
}
/**
* Get the Formatted Value of the Setting
*