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

@ -26,7 +26,7 @@ class CheckBoxDesign implements Styleable, SubStyleable {
/**
* Create the default enabled Design
*
* @return \FML\Models\CheckBoxDesign|static
* @return static
*/
public static function defaultEnabledDesign() {
return new static(Quad_Icons64x64_1::STYLE, Quad_Icons64x64_1::SUBSTYLE_Check);
@ -35,7 +35,7 @@ class CheckBoxDesign implements Styleable, SubStyleable {
/**
* Create the default disabled Design
*
* @return \FML\Models\CheckBoxDesign|static
* @return static
*/
public static function defaultDisabledDesign() {
return new static(Quad_Icons64x64_1::STYLE, Quad_Icons64x64_1::SUBSTYLE_Check);
@ -60,7 +60,7 @@ class CheckBoxDesign implements Styleable, SubStyleable {
* Set the image url
*
* @param string $url Image url
* @return \FML\Models\CheckBoxDesign|static
* @return static
*/
public function setImageUrl($url) {
$this->url = (string)$url;
@ -100,7 +100,7 @@ class CheckBoxDesign implements Styleable, SubStyleable {
* Apply the Design to the given Quad
*
* @param Quad $quad CheckBox Quad
* @return \FML\Models\CheckBoxDesign|static
* @return static
*/
public function applyToQuad(Quad $quad) {
$quad->setImage($this->url);