| Miscellaneous Classes and InterfacesTable of Contents
 Classes and interfaces which do not fit into the other SPL categories. The ArrayObject classIntroductionThis class allows objects to work as arrays. Class synopsisArrayObject 
     
       class ArrayObject
     
     implements 
      IteratorAggregate
     
 
     , 
      ArrayAccess
     
 
     , 
      Serializable
     
     , 
      Countable
     
 
     { /* Constants */ 
     const
     integer
     STD_PROP_LIST
      = 1
    ; 
     const
     integer
     ARRAY_AS_PROPS
      = 2
    ; /* Methods */ 
   public  __construct
    ([ mixed  $input= []
   [, int$flags= 0
   [, string$iterator_class= "ArrayIterator"
  ]]] )
   public void append
    ( mixed  $value)
   public void asort
    ( void
   ) 
   public int count
    ( void
   ) 
   public array exchangeArray
    ( mixed  $input)
   public array getArrayCopy
    ( void
   ) 
   public int getFlags
    ( void
   ) 
   public ArrayIterator getIterator
    ( void
   ) 
   public string getIteratorClass
    ( void
   ) 
   public void ksort
    ( void
   ) 
   public void natcasesort
    ( void
   ) 
   public void natsort
    ( void
   ) 
   public bool offsetExists
    ( mixed  $index)
   public mixed offsetGet
    ( mixed  $index)
   public void offsetSet
    ( mixed  $index, mixed$newval)
   public void offsetUnset
    ( mixed  $index)
   public string serialize
    ( void
   ) 
   public void setFlags
    ( int  $flags)
   public void setIteratorClass
    ( string  $iterator_class)
   public void uasort
    ( callable  $cmp_function)
   public void uksort
    ( callable  $cmp_function)
   public void unserialize
    ( string } $serialized)Predefined ConstantsArrayObject Flags
 Changelog
 
 The SplObserver interfaceIntroductionThe SplObserver interface is used alongside SplSubject to implement the Observer Design Pattern. Interface synopsisSplObserver 
     
       class SplObserver
     
     { /* Methods */ 
   abstract public void update
    ( SplSubject } $subject)The SplSubject interfaceIntroductionThe SplSubject interface is used alongside SplObserver to implement the Observer Design Pattern. Interface synopsisSplSubject 
     
       class SplSubject
     
     { /* Methods */ 
   abstract public void attach
    ( SplObserver  $observer)
   abstract public void detach
    ( SplObserver  $observer)
   abstract public void notify
    ( void
   )} |