Back to ActionButton class

Method getState

public array|null
getState
(int $value)
Get state profile by value name.
Parameters
  • int $value The value name we want to get.
Returns
  • array|null Return state profile or NULL.
Since
  • 4.0.0
Class: ActionButton
Project: Joomla

Method getState - Source code

/**
 * Get state profile by value name.
 *
 * @param   integer  $value  The value name we want to get.
 *
 * @return  array|null  Return state profile or NULL.
 *
 * @since   4.0.0
 */
public function getState(int $value) : ?array
{
    return $this->states[$value] ?? null;
}