phpDocumentor Swift
[ class tree: Swift ] [ index: Swift ] [ all elements ]

Class: SwiftRegistry

Source Location: /classes/SwiftRegistry.php

Class SwiftRegistry

Class Overview

Stores all of our needed objects and configuration settings for our App.

Located in /classes/SwiftRegistry.php [line 42]



		
		
		
		

Methods

[ Top ]
Method Summary
SwiftRegistry   __construct()   Creates a new SwiftRegistry object.
object Stored   get()   Get the current data stored at the provided key in registry.
array   getAll()   Get the Registry array/map object and return it.
void   out()   Outputs the stored data with the given key.
void   set()   Sets or automatically overwrites provided key and value in registry.
void   setAll()  

[ Top ]
Methods
Constructor __construct  [line 50]

  SwiftRegistry __construct( )

Creates a new SwiftRegistry object.


API Tags:
Return:  The new SwiftRegistry object
Access:  public


[ Top ]
get  [line 78]

  object Stored get( string $key  )

Get the current data stored at the provided key in registry.

Parameters:
string   $key:  Key for data

API Tags:
Return:  data for this key.
Access:  public


[ Top ]
getAll  [line 86]

  array getAll( )

Get the Registry array/map object and return it.


API Tags:
Return:  Array/map of all Registry data.
Access:  public


[ Top ]
out  [line 56]

  void out( string $key  )

Outputs the stored data with the given key.

Parameters:
string   $key:  Key for data

API Tags:
Access:  public


[ Top ]
set  [line 65]

  void set( string $key, object $value  )

Sets or automatically overwrites provided key and value in registry.

Parameters:
string   $key:  Key for data
object   $value:  Value to store

API Tags:
Access:  public


[ Top ]
setAll  [line 69]

  void setAll( $array  )

Parameters:
   $array: 

API Tags:
Access:  public


[ Top ]

Documentation generated on Tue, 08 Oct 2013 05:37:16 +0200 by phpDocumentor 1.4.4