Skip to content

AbstractQuery

  • Full name: \Zemit\Mvc\Controller\Traits\Abstracts\AbstractQuery

Methods

initializeFind

public initializeFind(): void
  • This method is abstract.

setFind

public setFind(?\Phalcon\Support\Collection $find): void
  • This method is abstract.

Parameters:

Parameter Type Description
$find ?\Phalcon\Support\Collection

getFind

public getFind(): ?\Phalcon\Support\Collection
  • This method is abstract.

find

public find(?array $find = null): \Phalcon\Mvc\Model\ResultsetInterface
  • This method is abstract.

Parameters:

Parameter Type Description
$find ?array

findWith

public findWith(?array $with = null, ?array $find = null): array
  • This method is abstract.

Parameters:

Parameter Type Description
$with ?array
$find ?array

findFirst

public findFirst(?array $find = null): mixed
  • This method is abstract.

Parameters:

Parameter Type Description
$find ?array

findFirstWith

public findFirstWith(?array $with = null, ?array $find = null): mixed
  • This method is abstract.

Parameters:

Parameter Type Description
$with ?array
$find ?array

average

public average(?array $find = null): float|\Phalcon\Mvc\Model\ResultsetInterface
  • This method is abstract.

Parameters:

Parameter Type Description
$find ?array

count

public count(?array $find = null): int|\Phalcon\Mvc\Model\ResultsetInterface
  • This method is abstract.

Parameters:

Parameter Type Description
$find ?array

sum

public sum(?array $find = null): float|\Phalcon\Mvc\Model\ResultsetInterface
  • This method is abstract.

Parameters:

Parameter Type Description
$find ?array

maximum

public maximum(?array $find = null): float|\Phalcon\Mvc\Model\ResultsetInterface
  • This method is abstract.

Parameters:

Parameter Type Description
$find ?array

minimum

public minimum(?array $find = null): float|\Phalcon\Mvc\Model\ResultsetInterface
  • This method is abstract.

Parameters:

Parameter Type Description
$find ?array

getCalculationFind

protected getCalculationFind(?array $find = null): array
  • This method is abstract.

Parameters:

Parameter Type Description
$find ?array

generateBindKey

public generateBindKey(string $prefix): string
  • This method is abstract.

Parameters:

Parameter Type Description
$prefix string