FML Update

This commit is contained in:
Steffen Schröder
2014-07-03 22:34:47 +02:00
parent edd62f0eb4
commit 8b3667b252
75 changed files with 392 additions and 370 deletions

View File

@ -28,7 +28,7 @@ class FrameModel implements Container, Renderable {
* Set Model id
*
* @param string $modelId Model id
* @return \FML\Elements\FrameModel|static
* @return static
*/
public function setId($modelId) {
$this->modelId = (string)$modelId;
@ -51,7 +51,7 @@ class FrameModel implements Container, Renderable {
*/
public function checkId() {
if (!$this->modelId) {
$this->setId(new UniqueID());
$this->setId(UniqueID::create());
}
return $this;
}