Trait WidthHeight
Trait for classes:
- \MvcCore\Ext\Forms\Fields\Image
Methods summary
public
integer|null
|
#
GetWidth( )
If the value of the type attribute is image, this attribute defines
the width of the image displayed for the button in pixels.
If the value of the type attribute is image, this attribute defines
the width of the image displayed for the button in pixels.
Returns
integer|null
See
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-width
|
public
MvcCore\Ext\Forms\Field
|
#
SetWidth( integer $width )
If the value of the type attribute is image, this attribute defines
the width of the image displayed for the button in pixels.
If the value of the type attribute is image, this attribute defines
the width of the image displayed for the button in pixels.
Parameters
Returns
See
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-width
|
public
integer|null
|
#
GetHeight( )
If the value of the type attribute is image, this attribute defines
the height of the image displayed for the button in pixels.
If the value of the type attribute is image, this attribute defines
the height of the image displayed for the button in pixels.
Returns
integer|null
See
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-height
|
public
MvcCore\Ext\Forms\Field
|
#
SetHeight( integer $height )
If the value of the type attribute is image, this attribute defines
the height of the image displayed for the button in pixels.
If the value of the type attribute is image, this attribute defines
the height of the image displayed for the button in pixels.
Parameters
Returns
See
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-height
|
Properties summary
protected
integer|null
|
$width
If the value of the type attribute is image, this attribute defines
the width of the image displayed for the button in pixels.
If the value of the type attribute is image, this attribute defines
the width of the image displayed for the button in pixels.
See
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-width
|
|
protected
integer|null
|
$height
If the value of the type attribute is image, this attribute defines
the height of the image displayed for the button in pixels.
If the value of the type attribute is image, this attribute defines
the height of the image displayed for the button in pixels.
See
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-height
|
|