b374k
m1n1 1.01
Apache/2.4.41 (Ubuntu)
Linux vmi616275.contaboserver.net 5.4.0-84-generic #94-Ubuntu SMP Thu Aug 26 20:27:37 UTC 2021 x86_64
uid=33(www-data) gid=33(www-data) groups=33(www-data)
server ip : 62.171.164.128 | your ip : 127.0.0.1
safemode OFF
 >  / home / dev2.destoffenstraat.com / vendor / magento / framework / Data /
Filename/home/dev2.destoffenstraat.com/vendor/magento/framework/Data/SearchResultProcessorInterface.php
Size2.95 kb
Permissionrw-r--r--
Ownerroot : root
Create time17-Aug-2025 10:26
Last modified07-Jan-2021 21:08
Last accessed23-Aug-2025 03:56
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Framework\Data;

/**
* Interface SearchResultProcessorInterface
*/
interface SearchResultProcessorInterface
{
/**
* Retrieve all ids for collection
*
* @return array
*/
public function getAllIds();

/**
* Get current collection page
*
* @return int
*/
public function getCurrentPage();

/**
* Retrieve collection page size
*
* @return int
*/
public function getPageSize();

/**
* Retrieve collection first item
*
* @return \Magento\Framework\DataObject
*/
public function getFirstItem();

/**
* Retrieve collection last item
*
* @return \Magento\Framework\DataObject
*/
public function getLastItem();

/**
* Retrieve field values from all items
*
* @param string $colName
* @return array
*/
public function getColumnValues($colName);

/**
* Search all items by field value
*
* @param string $column
* @param mixed $value
* @return array
*/
public function getItemsByColumnValue($column, $value);

/**
* Search first item by field value
*
* @param string $column
* @param mixed $value
* @return \Magento\Framework\DataObject || null
*/
public function getItemByColumnValue($column, $value);

/**
* Retrieve item by id
*
* @param mixed $idValue
* @return \Magento\Framework\DataObject
*/
public function getItemById($idValue);

/**
* Walk through the collection and run model method or external callback
* with optional arguments
*
* Returns array with results of callback for each item
*
* @param string $callback
* @param array $arguments
* @return array
*/
public function walk($callback, array $arguments = []);

/**
* Convert collection to XML
*
* @return string
*/
public function toXml();

/**
* Convert collection to array
*
* @param array $arrRequiredFields
* @return array
*/
public function toArray($arrRequiredFields = []);

/**
* Convert items array to array for select options
*
* return items array
* array(
* $index => array(
* 'value' => mixed
* 'label' => mixed
* )
* )
*
* @param string $valueField
* @param string $labelField
* @param array $additional
* @return array
*/
public function toOptionArray($valueField = null, $labelField = null, $additional = []);

/**
* Convert items array to hash for select options
*
* return items hash
* array($value => $label)
*
* @param string $valueField
* @param string $labelField
* @return array
*/
public function toOptionHash($valueField, $labelField);
}