October\Rain\Halcyon\Processors\Processor

Processor

Public methods

public string processInsert(October\Rain\Halcyon\Builder $query, array $data)

Process the data in to an insert action.

Parameters

public array processSelect(October\Rain\Halcyon\Builder $query, array $results)

Process the results of a "select" query.

Parameters

public array processSelectOne(October\Rain\Halcyon\Builder $query, array $result)

Process the results of a singular "select" query.

Parameters

public string processUpdate(October\Rain\Halcyon\Builder $query, array $data)

Process the data in to an update action.

Parameters

Protected methods

protected array parseTemplateContent(int $mtime, string $content, $fileName)

Helper to break down template content in to a useful array.

Parameters
  • int $mtime
  • string $content
  • $fileName