Processor
class Winter\Storm\Halcyon\Processors\Processor
Methods
public processInsert (Winter\Storm\Halcyon\Builder $query, array $data) : string
Process the data in to an insert action.
Parameters
Property | Type | Description |
---|---|---|
$query | Winter\Storm\Halcyon\Builder |
Winter\Storm\Halcyon\Builder
|
$data | array |
array
|
Returns
string
public processSelect (Winter\Storm\Halcyon\Builder $query, array $results) : array
Process the results of a "select" query.
Parameters
Property | Type | Description |
---|---|---|
$query | Winter\Storm\Halcyon\Builder |
Winter\Storm\Halcyon\Builder
|
$results | array |
array
|
Returns
array
public processSelectOne (Winter\Storm\Halcyon\Builder $query, array | null $result) : array | null
Process the results of a singular "select" query.
Parameters
Property | Type | Description |
---|---|---|
$query | Winter\Storm\Halcyon\Builder |
Winter\Storm\Halcyon\Builder
|
$result | array | null |
array | null
|
Returns
array | null
public processUpdate (Winter\Storm\Halcyon\Builder $query, array $data) : string
Process the data in to an update action.
Parameters
Property | Type | Description |
---|---|---|
$query | Winter\Storm\Halcyon\Builder |
Winter\Storm\Halcyon\Builder
|
$data | array |
array
|
Returns
string
protected parseTemplateContent (Winter\Storm\Halcyon\Builder $query, array | null $result, string $fileName) : array
Helper to break down template content in to a useful array.
Parameters
Property | Type | Description |
---|---|---|
$query | Winter\Storm\Halcyon\Builder | |
$result | array | null |
array | null
|
$fileName | string |
string
|
Returns
array
← Previous page
Winter\Storm\Halcyon\ModelInterface
Next page →
Winter\Storm\Halcyon\Processors\SectionParser
Copyright © 2024 Winter CMS