Spaces:
Sleeping
Sleeping
processmaker-community / processmaker-files /workflow /engine /classes /entities /EntitySolrQueryResult.php
Download processmaker-files/workflow/engine/classes/entities/EntitySolrQueryResult.php from kenken999/processmaker-community: direct link, hf CLI and curl.
- Browser
- Download file 777 Bytes
-
https://huggingface.co/spaces/kenken999/processmaker-community/resolve/main/processmaker-files/workflow/engine/classes/entities/EntitySolrQueryResult.php
- Command line
-
hf download hf://spaces/kenken999/processmaker-community/processmaker-files/workflow/engine/classes/entities/EntitySolrQueryResult.php
-
curl -L -o EntitySolrQueryResult.php https://huggingface.co/spaces/kenken999/processmaker-community/resolve/main/processmaker-files/workflow/engine/classes/entities/EntitySolrQueryResult.php
777 Bytes
| class EntitySolrQueryResult extends EntityBase | |
| { | |
| public $sEcho = ''; | |
| public $iTotalRecords = 0; | |
| public $iTotalDisplayRecords = 10; | |
| public $aaData = array(); // array of arrays of records to | |
| // display | |
| private function __construct() | |
| { | |
| } | |
| public static function createEmpty() | |
| { | |
| $obj = new EntitySolrQueryResult(); | |
| return $obj; | |
| } | |
| public static function createForRequest($data) | |
| { | |
| $obj = new EntitySolrQueryResult(); | |
| $obj->initializeObject($data); | |
| $requiredFields = array( | |
| 'sEcho', | |
| 'iTotalRecords', | |
| 'iTotalDisplayRecords', | |
| 'aaData' | |
| ); | |
| $obj->validateRequiredFields($requiredFields); | |
| return $obj; | |
| } | |
| } | |