<?php
namespace Pimcore\Model\DataObject\Vehicle;
use Pimcore\Model;
use Pimcore\Model\DataObject;
/**
* @method DataObject\Vehicle|false current()
* @method DataObject\Vehicle[] load()
* @method DataObject\Vehicle[] getData()
* @method DataObject\Vehicle[] getObjects()
*/
class Listing extends DataObject\Listing\Concrete
{
protected $classId = "vehicle";
protected $className = "vehicle";
/**
* Filter by internalVehicleId (Internal Vehicle Id)
* @param string|int|float|array|Model\Element\ElementInterface $data comparison data, can be scalar or array (if operator is e.g. "IN (?)")
* @param string $operator SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
* @return static
*/
public function filterByInternalVehicleId ($data, $operator = '=')
{
$this->getClass()->getFieldDefinition("internalVehicleId")->addListingFilter($this, $data, $operator);
return $this;
}
/**
* Filter by filterRate (Filter Rate)
* @param string|int|float|array|Model\Element\ElementInterface $data comparison data, can be scalar or array (if operator is e.g. "IN (?)")
* @param string $operator SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
* @return static
*/
public function filterByFilterRate ($data, $operator = '=')
{
$this->getClass()->getFieldDefinition("filterRate")->addListingFilter($this, $data, $operator);
return $this;
}
/**
* Filter by IncorrectDataLog (Incorrect Data Log)
* @param string|int|float|array|Model\Element\ElementInterface $data comparison data, can be scalar or array (if operator is e.g. "IN (?)")
* @param string $operator SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
* @return static
*/
public function filterByIncorrectDataLog ($data, $operator = '=')
{
$this->getClass()->getFieldDefinition("IncorrectDataLog")->addListingFilter($this, $data, $operator);
return $this;
}
/**
* Filter by adId (mobile.de Ad-ID)
* @param string|int|float|array|Model\Element\ElementInterface $data comparison data, can be scalar or array (if operator is e.g. "IN (?)")
* @param string $operator SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
* @return static
*/
public function filterByAdId ($data, $operator = '=')
{
$this->getClass()->getFieldDefinition("adId")->addListingFilter($this, $data, $operator);
return $this;
}
/**
* Filter by images (Images)
* @param mixed $data
* @param string $operator SQL comparison operator, e.g. =, <, >= etc. You can use "?" as placeholder, e.g. "IN (?)"
* @return static
*/
public function filterByImages ($data, $operator = '=')
{
$this->getClass()->getFieldDefinition("images")->addListingFilter($this, $data, $operator);
return $this;
}
}