PHPExcel

# Class: PHPExcel_HashTable Source Location: /PHPExcel/HashTable.php
### Class Overview
PHPExcel_HashTable #### Author(s): #### Copyright: Copyright (c) 2006 - 2010 PHPExcel (http://www.codeplex.com/PHPExcel) | ### Variables $_items $_keyMap | ### Methods __construct add addFromSource clear count getByHashCode getByIndex getIndexForHashCode remove toArray __clone
### Class Details [line 48] PHPExcel_HashTable PHPExcel_HashTable #### Tags:
copyright: | Copyright (c) 2006 - 2010 PHPExcel (http://www.codeplex.com/PHPExcel)
[ Top ] ### Class Variables #### $_items = array() [line 55] HashTable elements HashTable elements #### Tags:
access: | public
Type: | array
[ Top ] #### $_keyMap = array() [line 62] HashTable key map HashTable key map #### Tags:
access: | public
Type: | array
[ Top ] ### Class Methods ### constructor __construct [line 70]
`PHPExcel_HashTable __construct( [PHPExcel_IComparable[] $pSource = null])`
Create a new PHPExcel_HashTable Create a new PHPExcel_HashTable #### Tags:
throws: | Exception
access: | public
#### Parameters:
PHPExcel_IComparable[] | $pSource | Optional source array to create HashTable from
[ Top ] ### method add [line 103]
`void add( [PHPExcel_IComparable $pSource = null])`
Add HashTable item Add HashTable item #### Tags:
throws: | Exception
access: | public
#### Parameters:
PHPExcel_IComparable | $pSource | Item to add
[ Top ] ### method addFromSource [line 84]
`void addFromSource( [PHPExcel_IComparable[] $pSource = null])`
Add HashTable items from source Add HashTable items from source #### Tags:
throws: | Exception
access: | public
#### Parameters:
PHPExcel_IComparable[] | $pSource | Source array to create HashTable from
[ Top ] ### method clear [line 138]
`void clear( )`
Clear HashTable Clear HashTable #### Tags:
access: | public
[ Top ] ### method count [line 148]
`int count( )`
Count Count #### Tags:
access: | public
[ Top ] ### method getByHashCode [line 184]
`PHPExcel_IComparable getByHashCode( [string $pHashCode = ''])`
Get by hashcode Get by hashcode #### Tags:
access: | public
#### Parameters:
string | $pHashCode |
[ Top ] ### method getByIndex [line 169]
`PHPExcel_IComparable getByIndex( [int $pIndex = 0])`
Get by index Get by index #### Tags:
access: | public
#### Parameters:
int | $pIndex |
[ Top ] ### method getIndexForHashCode [line 158]
`int getIndexForHashCode( [string $pHashCode = ''])`
Get index for hash code Get index for hash code #### Tags:
return: | Index
access: | public
#### Parameters:
string | $pHashCode |
[ Top ] ### method remove [line 116]
`void remove( [PHPExcel_IComparable $pSource = null])`
Remove HashTable item Remove HashTable item #### Tags:
throws: | Exception
access: | public
#### Parameters:
PHPExcel_IComparable | $pSource | Item to remove
[ Top ] ### method toArray [line 197]
`PHPExcel_IComparable[] toArray( )`
HashTable to array HashTable to array #### Tags:
access: | public
[ Top ] ### method __clone [line 204]
`void __clone( )`
Implement PHP __clone to create a deep clone, not just a shallow copy. Implement PHP __clone to create a deep clone, not just a shallow copy. #### Tags:
access: | public
[ Top ] Documentation generated on Mon, 11 Jan 2010 08:11:12 +0100 by phpDocumentor 1.4.1