Grido@master
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo
  • Download

Namespaces

  • Grido
    • Components
      • Actions
      • Columns
      • Filters
    • DataSources
    • PropertyAccessors
    • Translations

Classes

  • Component
  • Container
  • Export
  • Operation
  • Paginator

Class Operation

Operation with one or more rows.

Nette\Application\UI\PresenterComponent
Extended by Grido\Components\Component
Extended by Grido\Components\Operation
Namespace: Grido\Components
Package: Grido\Components
Author: Petr Bugyík
Located at Components/Operation.php

Methods summary

public
# __construct( Grido\Grid $grid, array $operations, callable $onSubmit )

Parameters

$grid
$operations
$onSubmit
  • callback after operation submit
public Grido\Components\Operation
# setConfirm( string $operation, string $message )

Sets client side confirm for operation.

Sets client side confirm for operation.

Parameters

$operation
$message

Returns

Grido\Components\Operation
public Grido\Components\Operation
# setPrimaryKey( string $primaryKey )

Sets primary key.

Sets primary key.

Parameters

$primaryKey

Returns

Grido\Components\Operation
public string
# getPrimaryKey( )

Returns

string

Methods inherited from Grido\Components\Component

addComponentToGrid(), getForm(), getGrid(), getPropertyAccessor(), translate()

Magic methods summary

Constants summary

string ID
# 'operations'

Properties summary

public array $onSubmit

callback on operation submit

callback on operation submit

#
protected string $primaryKey
#

Properties inherited from Grido\Components\Component

$form, $grid, $label, $propertyAccessor, $type

Magic properties

public read-only string $primaryKey

Magic properties inherited from Grido\Components\Component

$form, $grid, $label, $type

Grido@master API documentation generated by ApiGen