Pinq\Queries\Segments\Ordering::__construct PHP Метод

__construct() публичный Метод

public __construct ( ElementProjection $projectionFunction, $isAscendingId )
$projectionFunction Pinq\Queries\Functions\ElementProjection
    public function __construct(Functions\ElementProjection $projectionFunction, $isAscendingId)
    {
        $this->projectionFunction = $projectionFunction;
        $this->isAscendingId = $isAscendingId;
    }

Usage Example

Пример #1
0
 public function __construct(Functions\ElementProjection $projectionFunction, $isAscending)
 {
     parent::__construct($projectionFunction, '');
     $this->isAscending = $isAscending;
 }