PHP Class Grido\Tests\Helper

Author: Petr Bugyík
ファイルを表示 Open project: o5/grido Class Usage Examples

Public Properties

Property Type Description
$grid Grido\Grid
$presenter TestPresenter

Public Methods

Method Description
assertTypeError ( $function )
grid ( Closure $definition )
request ( array $params = [], string $method = Nette\Http\Request::GET ) : Nette\Application\IResponse
run ( array $params = [], string $method = Nette\Http\Request::GET ) : Nette\Application\IResponse

Private Methods

Method Description
createPresenter ( ) : TestPresenter

Method Details

assertTypeError() public static method

public static assertTypeError ( $function )

grid() public static method

public static grid ( Closure $definition )
$definition Closure of grid; function(Grid $grid, TestPresenter $presenter) { };

request() public static method

public static request ( array $params = [], string $method = Nette\Http\Request::GET ) : Nette\Application\IResponse
$params array
$method string
return Nette\Application\IResponse

run() public method

public run ( array $params = [], string $method = Nette\Http\Request::GET ) : Nette\Application\IResponse
$params array
$method string
return Nette\Application\IResponse

Property Details

$grid public_oe static_oe property

public static Grid,Grido $grid
return Grido\Grid

$presenter public_oe static_oe property

public static TestPresenter,Grido\Tests $presenter
return TestPresenter