Class lispa\amos\core\views\grid\ActionColumn

Inheritancelispa\amos\core\views\grid\ActionColumn » yii\grid\ActionColumn » yii\grid\Column » yii\base\Object
Implementsyii\base\Configurable

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$_isDropdown lispa\amos\core\views\grid\ActionColumn
$additionalParams lispa\amos\core\views\grid\ActionColumn
$buttonClass lispa\amos\core\views\grid\ActionColumn
$buttonOptions array Html options to be applied to the default button. yii\grid\ActionColumn
$buttons array Button rendering callbacks. yii\grid\ActionColumn
$content callable This is a callable that will be used to generate the content of each cell. yii\grid\Column
$contentOptions array|Closure The HTML attributes for the data cell tag. yii\grid\Column
$controller string The ID of the controller that should handle the actions specified here. yii\grid\ActionColumn
$deleteOptions lispa\amos\core\views\grid\ActionColumn
$filterOptions array The HTML attributes for the filter cell tag. yii\grid\Column
$footer string The footer cell content. yii\grid\Column
$footerOptions array The HTML attributes for the footer cell tag. yii\grid\Column
$grid yii\grid\GridView The grid view object that owns this column. yii\grid\Column
$header string The header cell content. yii\grid\Column
$headerOptions array The HTML attributes for the header cell tag. yii\grid\ActionColumn
$options array The HTML attributes for the column group tag. yii\grid\Column
$template string The template used for composing each cell in the action column. yii\grid\ActionColumn
$updateOptions lispa\amos\core\views\grid\ActionColumn
$urlCreator callable A callback that creates a button URL using the specified model information. yii\grid\ActionColumn
$useOnly_additionalParams lispa\amos\core\views\grid\ActionColumn
$viewOptions lispa\amos\core\views\grid\ActionColumn
$visible boolean Whether this column is visible. yii\grid\Column
$visibleButtons array Visibility conditions for each button. yii\grid\ActionColumn

Public Methods

Hide inherited methods

MethodDescriptionDefined By
__call() Calls the named method which is not a class method. yii\base\Object
__construct() Constructor. yii\base\Object
__get() Returns the value of an object property. yii\base\Object
__isset() Checks if a property is set, i.e. defined and not null. yii\base\Object
__set() Sets value of an object property. yii\base\Object
__unset() Sets an object property to null. yii\base\Object
canGetProperty() Returns a value indicating whether a property can be read. yii\base\Object
canSetProperty() Returns a value indicating whether a property can be set. yii\base\Object
className() Returns the fully qualified name of this class. yii\base\Object
createUrl() Creates a URL for the given action and model. yii\grid\ActionColumn
hasMethod() Returns a value indicating whether a method is defined. yii\base\Object
hasProperty() Returns a value indicating whether a property is defined. yii\base\Object
init() Initializes the object. yii\grid\ActionColumn
renderDataCell() Renders a data cell. yii\grid\Column
renderFilterCell() Renders the filter cell. yii\grid\Column
renderFooterCell() Renders the footer cell. yii\grid\Column
renderHeaderCell() Renders the header cell. yii\grid\Column

Protected Methods

Hide inherited methods

MethodDescriptionDefined By
getHeaderCellLabel() Returns header cell label. yii\grid\Column
initDefaultButton() Initializes the default button rendering callback for single button yii\grid\ActionColumn
initDefaultButtons() lispa\amos\core\views\grid\ActionColumn
renderDataCellContent() lispa\amos\core\views\grid\ActionColumn
renderFilterCellContent() Renders the filter cell content. yii\grid\Column
renderFooterCellContent() Renders the footer cell content. yii\grid\Column
renderHeaderCellContent() Renders the header cell content. yii\grid\Column

Property Details

$_isDropdown public property
public $_isDropdown false
$additionalParams public property
public $additionalParams = []
$buttonClass public property
public $buttonClass 'lispa\amos\core\views\common\Buttons'
$deleteOptions public property
public $deleteOptions = ['class' => 'btn btn-danger-inverse']
$updateOptions public property
public $updateOptions = ['class' => 'btn btn-tools-secondary']
$useOnly_additionalParams public property
$viewOptions public property
public $viewOptions = ['class' => 'btn btn-tools-secondary']

Method Details

initDefaultButtons() protected method

protected void initDefaultButtons ( )
renderDataCellContent() protected method

protected void renderDataCellContent ( $model, $key, $index )
$model
$key
$index