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

@ -43,7 +43,7 @@ class CheckBox implements Renderable, ScriptFeatureable {
* Set the name
*
* @param string $name CheckBox name
* @return \FML\Components\CheckBox|static
* @return static
*/
public function setName($name) {
$this->name = (string)$name;
@ -54,7 +54,7 @@ class CheckBox implements Renderable, ScriptFeatureable {
* Set the default value
*
* @param bool $default Default value
* @return \FML\Components\CheckBox|static
* @return static
*/
public function setDefault($default) {
$this->feature->setDefault($default);
@ -66,7 +66,7 @@ class CheckBox implements Renderable, ScriptFeatureable {
*
* @param string $style Style name or image url
* @param string $subStyle SubStyle name
* @return \FML\Components\CheckBox|static
* @return static
*/
public function setEnabledDesign($style, $subStyle = null) {
if (is_object($style) && ($style instanceof CheckBoxDesign)) {
@ -83,7 +83,7 @@ class CheckBox implements Renderable, ScriptFeatureable {
*
* @param string $style Style name or image url
* @param string $subStyle SubStyle name
* @return \FML\Components\CheckBox|static
* @return static
*/
public function setDisabledDesign($style, $subStyle = null) {
if (is_object($style) && ($style instanceof CheckBoxDesign)) {
@ -99,7 +99,7 @@ class CheckBox implements Renderable, ScriptFeatureable {
* Set the CheckBox Quad
*
* @param Quad $quad CheckBox Quad
* @return \FML\Components\CheckBox|static
* @return static
*/
public function setQuad(Quad $quad = null) {
$this->feature->setQuad($quad);
@ -129,7 +129,7 @@ class CheckBox implements Renderable, ScriptFeatureable {
}
/**
* @see \ManiaControl\Types\Renderable::render()
* @see \FML\Types\Renderable::render()
*/
public function render(\DOMDocument $domDocument) {
$frame = new Frame();
@ -147,7 +147,7 @@ class CheckBox implements Renderable, ScriptFeatureable {
/**
* Build the hidden Entry
*
* @return Entry
* @return \FML\Controls\Entry
*/
protected function buildEntry() {
$entry = new Entry();

View File

@ -44,7 +44,7 @@ class ValuePicker implements Renderable, ScriptFeatureable {
* Set Name
*
* @param string $name ValuePicker name
* @return \FML\Components\ValuePicker|static
* @return static
*/
public function setName($name) {
$this->name = (string)$name;
@ -55,7 +55,7 @@ class ValuePicker implements Renderable, ScriptFeatureable {
* Set the possible values
*
* @param array $values Possible values
* @return \FML\Components\ValuePicker|static
* @return static
*/
public function setValues(array $values) {
$this->feature->setValues($values);
@ -66,7 +66,7 @@ class ValuePicker implements Renderable, ScriptFeatureable {
* Set the default value
*
* @param bool $default Default value
* @return \FML\Components\ValuePicker|static
* @return static
*/
public function setDefault($default) {
$this->feature->setDefault($default);
@ -77,7 +77,7 @@ class ValuePicker implements Renderable, ScriptFeatureable {
* Set the ValuePicker Label
*
* @param Label $label ValuePicker Label
* @return \FML\Components\ValuePicker|static
* @return static
*/
public function setLabel(Label $label = null) {
$this->feature->setLabel($label);
@ -106,7 +106,7 @@ class ValuePicker implements Renderable, ScriptFeatureable {
}
/**
* @see \ManiaControl\Types\Renderable::render()
* @see \FML\Types\Renderable::render()
*/
public function render(\DOMDocument $domDocument) {
$frame = new Frame();
@ -124,7 +124,7 @@ class ValuePicker implements Renderable, ScriptFeatureable {
/**
* Build the hidden Entry
*
* @return Entry
* @return \FML\Controls\Entry
*/
protected function buildEntry() {
$entry = new Entry();