PHP 클래스 PhpOffice\PhpPresentation\HashTable

파일 보기 프로젝트 열기: phpoffice/phppowerpoint 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$items array HashTable elements
$keyMap array HashTable key map

공개 메소드들

메소드 설명
__construct ( array $pSource = null ) Create a new \PhpOffice\PhpPresentation\HashTable
add ( ComparableInterface $pSource ) Add HashTable item
addFromSource ( PhpOffice\PhpPresentation\ComparableInterface[] $pSource = null ) Add HashTable items from source
clear ( ) Clear HashTable
count ( ) : integer Count
getByHashCode ( string $pHashCode = '' ) : PhpOffice\PhpPresentation\ComparableInterface Get by hashcode
getByIndex ( integer $pIndex ) : PhpOffice\PhpPresentation\ComparableInterface Get by index
getIndexForHashCode ( string $pHashCode = '' ) : integer Get index for hash code
remove ( ComparableInterface $pSource ) Remove HashTable item
toArray ( ) : PhpOffice\PhpPresentation\ComparableInterface[] HashTable to array

메소드 상세

__construct() 공개 메소드

Create a new \PhpOffice\PhpPresentation\HashTable
public __construct ( array $pSource = null )
$pSource array Optional source array to create HashTable from

add() 공개 메소드

Add HashTable item
public add ( ComparableInterface $pSource )
$pSource ComparableInterface Item to add

addFromSource() 공개 메소드

Add HashTable items from source
public addFromSource ( PhpOffice\PhpPresentation\ComparableInterface[] $pSource = null )
$pSource PhpOffice\PhpPresentation\ComparableInterface[] Source array to create HashTable from

clear() 공개 메소드

Clear HashTable
public clear ( )

count() 공개 메소드

Count
public count ( ) : integer
리턴 integer

getByHashCode() 공개 메소드

Get by hashcode
public getByHashCode ( string $pHashCode = '' ) : PhpOffice\PhpPresentation\ComparableInterface
$pHashCode string
리턴 PhpOffice\PhpPresentation\ComparableInterface

getByIndex() 공개 메소드

Get by index
public getByIndex ( integer $pIndex ) : PhpOffice\PhpPresentation\ComparableInterface
$pIndex integer
리턴 PhpOffice\PhpPresentation\ComparableInterface

getIndexForHashCode() 공개 메소드

Get index for hash code
public getIndexForHashCode ( string $pHashCode = '' ) : integer
$pHashCode string
리턴 integer Index

remove() 공개 메소드

Remove HashTable item
public remove ( ComparableInterface $pSource )
$pSource ComparableInterface Item to remove

toArray() 공개 메소드

HashTable to array
public toArray ( ) : PhpOffice\PhpPresentation\ComparableInterface[]
리턴 PhpOffice\PhpPresentation\ComparableInterface[]

프로퍼티 상세

$items 공개적으로 프로퍼티

HashTable elements
public array $items
리턴 array

$keyMap 공개적으로 프로퍼티

HashTable key map
public array $keyMap
리턴 array