PHP Класс Horde_Imap_Client_Fetch_Results, horde

Автор: Michael Slusarz ([email protected])
Наследование: implements ArrayAccess, implements Countable, implements IteratorAggregate
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$_data array Internal data array.
$_keyType integer Key type.
$_obClass string Class to use when creating a new fetch object.

Открытые методы

Метод Описание
__construct ( string $ob_class = 'Horde_Imap_Client_Data_Fetch', integer $key_type = self::UID ) Constructor.
__get ( $name )
clear ( ) Clears all fetch results.
count ( )
first ( ) : null | Horde_Imap_Client_Data_Fetch Return the first fetch object in the results, if there is only one object.
get ( string $key ) : Horde_Imap_Client_Data_Fetch Return a fetch object, creating and storing an empty object in the results set if it doesn't currently exist.
getIterator ( )
ids ( ) : array Return the list of IDs.
offsetExists ( $offset )
offsetGet ( $offset )
offsetSet ( $offset, $value )
offsetUnset ( $offset )

Описание методов

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

Constructor.
public __construct ( string $ob_class = 'Horde_Imap_Client_Data_Fetch', integer $key_type = self::UID )
$ob_class string Class to use when creating a new fetch object.
$key_type integer Key type.

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

public __get ( $name )

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

Clears all fetch results.
С версии: 2.6.0
public clear ( )

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

public count ( )

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

Return the first fetch object in the results, if there is only one object.
public first ( ) : null | Horde_Imap_Client_Data_Fetch
Результат null | Horde_Imap_Client_Data_Fetch The fetch object if there is only one object, or null.

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

Return a fetch object, creating and storing an empty object in the results set if it doesn't currently exist.
public get ( string $key ) : Horde_Imap_Client_Data_Fetch
$key string The key to retrieve.
Результат Horde_Imap_Client_Data_Fetch The fetch object.

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

public getIterator ( )

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

Return the list of IDs.
public ids ( ) : array
Результат array ID list.

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

public offsetExists ( $offset )

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

public offsetGet ( $offset )

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

public offsetSet ( $offset, $value )

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

public offsetUnset ( $offset )

Описание свойств

$_data защищенное свойство

Internal data array.
protected array $_data
Результат array

$_keyType защищенное свойство

Key type.
protected int $_keyType
Результат integer

$_obClass защищенное свойство

Class to use when creating a new fetch object.
protected string $_obClass
Результат string