Documentation

UserCountryFilingCompanyService
in package

Table of Contents

Properties

$clientRepository  : ClientRepository
$countryRepository  : ICountryRepository
$filingCompanyService  : FilingCompanyService
$userCountryFilingRepository  : UserCountryFilingCompanyRepository

Methods

__construct()  : mixed
addNewByUserIdAndCountryIdAndFilingCompanyIdAndStartDate()  : bool
countByClientIdAndCountryIdAndStartDateEarlier()  : int
createUserCountryFilingCompanyEntity()  : UserCountryFilingCompany|null
dateIsInInterval()  : bool
deleteAllByClientIdAndCountryId()  : void
fixDateFormat()  : void
getActiveByUserAndCountryId()  : UserCountryFilingCompany|null
getAllActiveByUser()  : array<string|int, UserCountryFilingCompany>|null
getByClientIdAndCountryId()  : array<string|int, UserCountryFilingCompany>
getByClientIdAndCountryIdListPhalcon()  : mixed
getByCountryId()  : false|array<string|int, UserCountryFilingCompany>
getByUserIdAndCountryIdAndEndDate()  : array<string|int, UserCountryFilingCompany>|null
insert()  : mixed
replaceActiveFilingCompanyWhenFirst()  : mixed
save()  : mixed
updateSlot()  : mixed
getAllByUserAndCountry()  : array<string|int, mixed>|array<string|int, UserCountryFilingCompany>|null

Properties

Methods

addNewByUserIdAndCountryIdAndFilingCompanyIdAndStartDate()

public addNewByUserIdAndCountryIdAndFilingCompanyIdAndStartDate(int $userId, int $countryId, int $filingCompanyId, DateTime $startDate) : bool
Parameters
$userId : int
$countryId : int
$filingCompanyId : int
$startDate : DateTime
Tags
throws
Exception
Return values
bool

countByClientIdAndCountryIdAndStartDateEarlier()

public countByClientIdAndCountryIdAndStartDateEarlier(int $clientId, int $countryId, DateTime $startDate) : int
Parameters
$clientId : int
$countryId : int
$startDate : DateTime
Return values
int

dateIsInInterval()

public dateIsInInterval(DateTime $startDate, DateTime $endDate, DateTime $checkDate) : bool
Parameters
$startDate : DateTime
$endDate : DateTime
$checkDate : DateTime
Return values
bool

deleteAllByClientIdAndCountryId()

public deleteAllByClientIdAndCountryId(int $clientId, int $countryId) : void
Parameters
$clientId : int
$countryId : int
Tags
throws
DataException
throws
OptimisticLockException
throws
ORMException

getByClientIdAndCountryIdListPhalcon()

public getByClientIdAndCountryIdListPhalcon(mixed $clientId, mixed $countryIdList) : mixed
Parameters
$clientId : mixed
$countryIdList : mixed

replaceActiveFilingCompanyWhenFirst()

public replaceActiveFilingCompanyWhenFirst(int $userId, int $countryId, int $filingCompanyId, DateTime $newStartDate) : mixed
Parameters
$userId : int
$countryId : int
$filingCompanyId : int
$newStartDate : DateTime
Tags
throws
DataException
throws
OptimisticLockException
throws
Exception

        
On this page

Search results