PHP Class Mgallegos\LaravelJqgrid\Encoders\JqGridJsonEncoder

Inheritance: implements Mgallegos\LaravelJqgrid\Encoders\RequestedDataInterface
Afficher le fichier Open project: mgallegos/laravel-jqgrid

Protected Properties

Свойство Type Description
$Excel Maatwebsite\Excel\Excel Maatwebsite\Excel\Excel

Méthodes publiques

Méthode Description
__construct ( Maatwebsite\Excel\Excel $Excel ) Construct Excel
encodeRequestedData ( Mgallegos\LaravelJqgrid\Repositories\RepositoryInterface $Repository, array $postedData ) : string Echo in a jqGrid compatible format the data requested by a grid.

Méthodes protégées

Méthode Description
numToLetter ( $num, $uppercase = FALSE ) : string Takes a number and converts it to a-z,aa-zz,aaa-zzz, etc with uppercase option

Method Details

__construct() public méthode

Construct Excel
public __construct ( Maatwebsite\Excel\Excel $Excel )
$Excel Maatwebsite\Excel\Excel

encodeRequestedData() public méthode

Echo in a jqGrid compatible format the data requested by a grid.
public encodeRequestedData ( Mgallegos\LaravelJqgrid\Repositories\RepositoryInterface $Repository, array $postedData ) : string
$Repository Mgallegos\LaravelJqgrid\Repositories\RepositoryInterface
$postedData array All jqGrid posted data
Résultat string String of a jqGrid compatible data format: xml, json, jsonp, array, xmlstring, jsonstring.

numToLetter() protected méthode

Takes a number and converts it to a-z,aa-zz,aaa-zzz, etc with uppercase option
protected numToLetter ( $num, $uppercase = FALSE ) : string
Résultat string letters from number input

Property Details

$Excel protected_oe property

Maatwebsite\Excel\Excel
protected Excel,Maatwebsite\Excel $Excel
Résultat Maatwebsite\Excel\Excel