ForwardFW
[ class tree: ForwardFW ] [ index: ForwardFW ] [ all elements ]

Class: ForwardFW_Interface_DataHandler

Source Location: /Interface/DataHandler.php

Interface Overview


Interface for a DataLoader.


Author(s):

Methods



Class Details

[line 47]
Interface for a DataLoader.



Tags:



[ Top ]


Class Methods


constructor __construct [line 56]

void __construct( ForwardFW_Interface_Application $application)

Constructor



Tags:

access:  public


Parameters:

ForwardFW_Interface_Application   $application   The running application

[ Top ]

method initConnection [line 100]

void initConnection( string $strConnection)

Initialize the given connection.



Tags:

access:  public


Parameters:

string   $strConnection   Name of connection defined in conf.

[ Top ]

method loadFrom [line 81]

mixed loadFrom( string $strConnection, $arOptions)

Load method.



Tags:

return:  The response Data
access:  public


Parameters:

string   $strConnection   Name of connection defined in conf.
array   $arOptions   Operations for this load.

[ Top ]

method loadFromCached [line 69]

mixed loadFromCached( string $strConnection, $arOptions, [integer $nCacheTimeout = -1])

Calls the loading if it isn't in cache or cache timed out.



Tags:

return:  The response Data
access:  public


Parameters:

string   $strConnection   Name of connection defined in conf.
array   $arOptions   Operations for this load.
integer   $nCacheTimeout   Cache lifetime, -1 to use default.

[ Top ]

method saveTo [line 91]

boolean saveTo( string $strConnection, $options)

Save method.



Tags:

access:  public


Parameters:

string   $strConnection   Name of connection defined in conf.
array   $options   Operations for the saving.

[ Top ]


Documentation generated on Sun, 30 Jan 2011 20:46:39 +0100 by phpDocumentor 1.4.3