Packages

  • Nette
    • Application
    • Caching
    • Collections
    • Config
    • Forms
    • IO
    • Loaders
    • Mail
    • Reflection
    • Security
    • Templates
    • Web
  • None
  • PHP

Classes

  • NArrayList
  • NCollection
  • NHashtable
  • NSet

Interfaces

  • ICollection
  • IList
  • IMap
  • ISet

Exceptions

  • NKeyNotFoundException
  • Overview
  • Package
  • Class
  • Tree
  • Other releases
 1: <?php
 2: 
 3: /**
 4:  * This file is part of the Nette Framework (https://nette.org)
 5:  *
 6:  * Copyright (c) 2004 David Grudl (http://davidgrudl.com)
 7:  *
 8:  * For the full copyright and license information, please view
 9:  * the file license.txt that was distributed with this source code.
10:  * @package Nette\Collections
11:  */
12: 
13: 
14: 
15: /**
16:  * Represents a generic collection of key/value pairs.
17:  *
18:  * @author     David Grudl
19:  * @package Nette\Collections
20:  */
21: interface IMap extends ICollection, ArrayAccess
22: {
23:     function add($key, $value);
24:     function search($item);
25:     function getKeys();
26:     //function NArrayAccess::offsetSet($offset, $value);
27:     //function NArrayAccess::offsetGet($offset);
28:     //function NArrayAccess::offsetUnset($offset);
29:     //function NArrayAccess::offsetExists($offset);
30: }
31: 
Nette Framework 0.9.7 (for PHP 5.2) API documentation generated by ApiGen 2.3.0