System\Classes\UiFactory\Migrate\AjaxButton
Extends
- System\Classes\UiFactory\Migrate\Button
- System\Classes\UiElement
- October\Rain\Element\ElementBase
- October\Rain\Extension\Extendable
Implements
- JsonSerializable
- Illuminate\Contracts\Support\Jsonable
- ArrayAccess
- Illuminate\Contracts\Support\Arrayable
- Stringable
Public Properties
There are no public properties in the class.
Show inherited public properties
Inherited Public Properties
- $config - values for this instance. (defined in October\Rain\Element\ElementBase)
- $implement - extensions for this class. (defined in October\Rain\Extension\Extendable)
Protected Properties
There are no protected properties in the class.
Show inherited protected properties
Inherited Protected Properties
- $extensionData - contains class reflection information, including behaviors. (defined in October\Rain\Extension\Extendable)
- $extendableStaticMethods - is a collection of static methods used by behaviors. (defined in October\Rain\Extension\Extendable)
Public Methods
public __construct()
public __construct($label = 'Button', $ajaxHandler = 'onAjax', $config = []): void
public formDeleteButton()
public formDeleteButton(): static
Inherited Public Methods
- __call() - handles dynamic calls to the element instance to set config. (defined in October\Rain\Element\ElementBase)
- __callStatic() - calls an undefined static method. (defined in October\Rain\Extension\Extendable)
- __get() - dynamically retrieves the value of an attribute. (defined in October\Rain\Element\ElementBase)
- __isset() - dynamically checks if an attribute is set. (defined in October\Rain\Element\ElementBase)
- __set() - dynamically sets the value of an attribute. (defined in October\Rain\Element\ElementBase)
- __sleep() - prepare the object for serialization. (defined in October\Rain\Extension\Extendable)
- __toString() - (defined in System\Classes\UiElement)
- __unset() - dynamically unsets an attribute. (defined in October\Rain\Element\ElementBase)
- __wakeup() - when a model is being unserialized, check if it needs to be booted. (defined in October\Rain\Extension\Extendable)
- addDynamicMethod() - programmatically adds a method to the extendable class. (defined in October\Rain\Extension\Extendable)
- addDynamicProperty() - programmatically adds a property to the extendable class. (defined in October\Rain\Extension\Extendable)
- asExtension() - is short hand for
getClassExtension()method, except takes the short. (defined in October\Rain\Extension\Extendable) - circleIcon() - shows a circle button with an icon inside. (defined in System\Classes\UiFactory\Migrate\Button)
- clearExtendedClasses() - (defined in October\Rain\Extension\Extendable)
- danger() - (defined in System\Classes\UiFactory\Migrate\Button)
- evalConfig() - override method. (defined in October\Rain\Element\ElementBase)
- extend() - this class with a closure. (defined in October\Rain\Extension\Extendable)
- extendClassWith() - dynamically extends a class with a specified behavior. (defined in October\Rain\Extension\Extendable)
- extendableCall() - magic method for
__call(). (defined in October\Rain\Extension\Extendable) - extendableCallStatic() - magic method for
__callStatic(). (defined in October\Rain\Extension\Extendable) - extendableConstruct() - should be called as part of the constructor. (defined in October\Rain\Extension\Extendable)
- extendableDestruct() - should be called when serializing the object. (defined in October\Rain\Extension\Extendable)
- extendableExtendCallback() - is a helper method for
::extend()static method. (defined in October\Rain\Extension\Extendable) - extendableGet() - magic method for
__get(). (defined in October\Rain\Extension\Extendable) - extendableSet() - magic method for
__set(). (defined in October\Rain\Extension\Extendable) - get() - an attribute from the element instance. (defined in October\Rain\Element\ElementBase)
- getClassExtension() - returns a behavior object from an extendable class, example:. (defined in October\Rain\Extension\Extendable)
- getClassMethodAsReflector() - (defined in October\Rain\Extension\Extendable)
- getClassMethods() - gets a list of class methods, extension equivalent of get_class_methods(). (defined in October\Rain\Extension\Extendable)
- getConfig() - returns the entire config array. (defined in October\Rain\Element\ElementBase)
- getDynamicProperties() - returns all dynamic properties and their values. (defined in October\Rain\Extension\Extendable)
- hotkey() - sets a hotkey pattern. (defined in System\Classes\UiFactory\Migrate\Button)
- implementClassWith() - will implement an extension using non-interference and should. (defined in October\Rain\Extension\Extendable)
- info() - (defined in System\Classes\UiFactory\Migrate\Button)
- isClassExtendedWith() - checks if extendable class is extended with a behavior object. (defined in October\Rain\Extension\Extendable)
- isClassInstanceOf() - checks if the class implements the supplied interface methods. (defined in October\Rain\Extension\Extendable)
- jsonSerialize() - converts the object into something JSON serializable. (defined in October\Rain\Element\ElementBase)
- linkTo() - (defined in System\Classes\UiFactory\Migrate\Button)
- methodExists() - checks if a method exists, extension equivalent of method_exists(). (defined in October\Rain\Extension\Extendable)
- offsetExists() - determines if the given offset exists. (defined in October\Rain\Element\ElementBase)
- offsetGet() - gets the value for a given offset. (defined in October\Rain\Element\ElementBase)
- offsetSet() - sets the value at the given offset. (defined in October\Rain\Element\ElementBase)
- offsetUnset() - unsets the value at the given offset. (defined in October\Rain\Element\ElementBase)
- primary() - (defined in System\Classes\UiFactory\Migrate\Button)
- propertyExists() - checks if a property exists, extension equivalent of
property_exists(). (defined in October\Rain\Extension\Extendable) - render() - the element. (defined in System\Classes\UiFactory\Migrate\Button)
- renderAsString() - (defined in System\Classes\UiElement)
- secondary() - (defined in System\Classes\UiFactory\Migrate\Button)
- success() - (defined in System\Classes\UiFactory\Migrate\Button)
- textLink() - displays a button just like a text link with no padding. (defined in System\Classes\UiFactory\Migrate\Button)
- toArray() - converts the element instance to an array. (defined in October\Rain\Element\ElementBase)
- toJson() - converts the element instance to JSON. (defined in October\Rain\Element\ElementBase)
- useConfig() - is used internally. (defined in October\Rain\Element\ElementBase)
- warning() - (defined in System\Classes\UiFactory\Migrate\Button)
Protected Methods
protected buildAttributes()
protected buildAttributes($attr = []): array
Show inherited protected methods
Inherited Protected Methods
- buildCssClass() - (defined in System\Classes\UiFactory\Migrate\Button)
- buildLabel() - (defined in System\Classes\UiFactory\Migrate\Button)
- extendableIsAccessible() - checks if a property is accessible, property equivalent. (defined in October\Rain\Extension\Extendable)
- extensionExtractImplements() - will return classes to implement. (defined in October\Rain\Extension\Extendable)
- extensionExtractMethods() - extracts the available methods from a behavior and adds it. (defined in October\Rain\Extension\Extendable)
- getExtendableMethodFromDynamicMethods() - (defined in October\Rain\Extension\Extendable)
- getExtendableMethodFromExtensions() - (defined in October\Rain\Extension\Extendable)
- initDefaultValues() - override method. (defined in System\Classes\UiFactory\Migrate\Button)
- renderBody() - is a helper for dealing with mixed body types. (defined in System\Classes\UiElement)
- setDefaults() - (defined in System\Classes\UiElement)