Bitrix API

AfterConstraint extends Constraint

Table of Contents

Methods

__construct()  : mixed
getAfter()  : DateTimeInterface
isInc()  : bool
stopsTransformer()  : bool
test()  : bool
Passes if $date is after $after

Methods

__construct()

public __construct(DateTimeInterface $after[, bool $inc = false ]) : mixed
Parameters
$after : DateTimeInterface
$inc : bool = false

Include date if it equals $after.

getAfter()

public getAfter() : DateTimeInterface
Return values
DateTimeInterface

stopsTransformer()

public stopsTransformer() : bool
Return values
bool

test()

Passes if $date is after $after

public test(DateTimeInterface $date) : bool
Parameters
$date : DateTimeInterface
Return values
bool

        
On this page

Search results