-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #62 from leantony/2.0
Add support for disabling of global search field
- Loading branch information
Showing
6 changed files
with
118 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<?php | ||
/** | ||
* Copyright (c) 2018. | ||
* @author Antony [leantony] Chacha | ||
*/ | ||
|
||
namespace Leantony\Grid\Events; | ||
|
||
use Leantony\Grid\GridInterface; | ||
|
||
class GridInitialized | ||
{ | ||
/** | ||
* @var GridInterface | ||
*/ | ||
public $grid; | ||
|
||
/** | ||
* @var array | ||
*/ | ||
public $params; | ||
|
||
/** | ||
* GridInitialized constructor. | ||
* @param GridInterface $grid | ||
* @param array $params | ||
*/ | ||
public function __construct(GridInterface $grid, array $params) | ||
{ | ||
$this->grid = $grid; | ||
$this->params = $params; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<?php | ||
/** | ||
* Copyright (c) 2018. | ||
* @author Antony [leantony] Chacha | ||
*/ | ||
|
||
namespace Leantony\Grid\Listeners; | ||
|
||
use Leantony\Grid\Events\GridInitialized; | ||
|
||
class GridWasInitialized | ||
{ | ||
/** | ||
* Create the event listener. | ||
* | ||
*/ | ||
public function __construct() | ||
{ | ||
// | ||
} | ||
|
||
/** | ||
* Handle the event. | ||
* | ||
* @param GridInitialized $event | ||
* @return mixed | ||
* @throws \Throwable | ||
*/ | ||
public function handle(GridInitialized $event) | ||
{ | ||
// | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters