Documentation

ClientCreditRepository extends AbstractRepository
in package
uses ClientCreditFilter

FinalYes

Table of Contents

Methods

__construct()  : mixed
delete()  : void
deleteList()  : void
fetchAllAsAssocArray()  : mixed
findByClientIdAndCountryIdAndYearAndCreditTypeId()  : ClientCredit|null
findByClientIdAndCountryIdAndYearMonth()  : array<string|int, ClientCredit>|null
findByClientIdAndCountryIdAndYearMonthAndCreditTypeId()  : ClientCredit|null
findCount()  : int
findItems()  : array<string|int, ClientCredit>
flush()  : void
getOrThrow()  : mixed
insert()  : void
insertList()  : void
merge()  : object
persist()  : void
remove()  : void
update()  : void
updateList()  : void
getNativeSqlWithParameters()  : mixed
code mostly copied from doctrine private methods

Methods

__construct()

public __construct(EntityManager $entityManager) : mixed
Parameters
$entityManager : EntityManager

delete()

public delete(object $entity) : void
Parameters
$entity : object
Tags
throws
OptimisticLockException
throws
DataException
throws
ORMException

deleteList()

public deleteList(array<string|int, object> $entities) : void
Parameters
$entities : array<string|int, object>
Tags
throws
DataException
throws
ORMException
throws
OptimisticLockException

fetchAllAsAssocArray()

public fetchAllAsAssocArray(mixed $key) : mixed
Parameters
$key : mixed

findByClientIdAndCountryIdAndYearAndCreditTypeId()

public findByClientIdAndCountryIdAndYearAndCreditTypeId(mixed $clientId, mixed $countryId, mixed $year, mixed $creditTypeId) : ClientCredit|null
Parameters
$clientId : mixed
$countryId : mixed
$year : mixed
$creditTypeId : mixed
Return values
ClientCredit|null

findByClientIdAndCountryIdAndYearMonth()

public findByClientIdAndCountryIdAndYearMonth(int $clientId, int $countryId, int $yearMonth) : array<string|int, ClientCredit>|null
Parameters
$clientId : int
$countryId : int
$yearMonth : int
Return values
array<string|int, ClientCredit>|null

findByClientIdAndCountryIdAndYearMonthAndCreditTypeId()

public findByClientIdAndCountryIdAndYearMonthAndCreditTypeId(int $clientId, int $countryId, int $yearMonth, mixed $creditTypeId) : ClientCredit|null
Parameters
$clientId : int
$countryId : int
$yearMonth : int
$creditTypeId : mixed
Tags
throws
Exception
Return values
ClientCredit|null

findCount()

public findCount(mixed $queryParams) : int
Parameters
$queryParams : mixed
Tags
throws
NonUniqueResultException
throws
Exception
Return values
int

flush()

public flush() : void
Tags
throws
ORMException
throws
OptimisticLockException

getOrThrow()

public getOrThrow(mixed $id[, mixed $lockMode = null ][, mixed $lockVersion = null ][, Exception $exception = null ]) : mixed
Parameters
$id : mixed
$lockMode : mixed = null
$lockVersion : mixed = null
$exception : Exception = null

insert()

public insert(object $entity) : void
Parameters
$entity : object
Tags
throws
OptimisticLockException
throws
DataException
throws
ORMException

insertList()

public insertList(array<string|int, object> $entities) : void
Parameters
$entities : array<string|int, object>
Tags
throws
DataException
throws
ORMException
throws
OptimisticLockException

update()

public update(object $entity) : void
Parameters
$entity : object
Tags
throws
OptimisticLockException
throws
DataException
throws
ORMException

updateList()

public updateList(array<string|int, object> $entities) : void
Parameters
$entities : array<string|int, object>
Tags
throws
DataException
throws
ORMException
throws
OptimisticLockException

getNativeSqlWithParameters()

code mostly copied from doctrine private methods

protected getNativeSqlWithParameters(Query $query) : mixed
Parameters
$query : Query

        
On this page

Search results