Arbit - project tracking

Arbit - project tracking

API documentation :: Docs For Class arbitModuleImporterRedmineDriver

Importer::arbitModuleImporterRedmineDriver

Class arbitModuleImporterRedmineDriver

Base importer driver.

Base importer driver.

arbitModuleImporterAbstractDriver
   |
   --arbitModuleImporterRedmineDriver
Author(s):
Version:   $Revision$

Inherited Member Variables

From arbitModuleImporterAbstractDriver
protected arbitModuleImporterAbstractDriver::$pdo
protected arbitModuleImporterAbstractDriver::$project

Method Summary

public bool checkProject( )
check if the user provided project exists in the database
public void fetchAttachments( )
returns a stmt/map with all attachments data
public void fetchComments( )
returns a stmt/map with all comments data
public void fetchComponents( )
returns a stmt/map with name or a fixed array of components defined as:
public void fetchIssues( )
returns a stmt/map with all issue data
public void fetchPriority( )
returns a stmt/map with name or a fixed array of priorities defined as:
public void fetchResolution( )
returns a stmt/map with name or a fixed array of resolutions defined as:
public void fetchStates( )
returns a stmt/map with name or a fixed array of states defined as:
public void fetchTypes( )
returns a stmt/map with name or a fixed array of types defined as:
public void fetchUsers( )
returns a stmt/map with all users data
public void fetchVersions( )
returns a stmt/map with name and active or a fixed array of versions defined as:
public void init( $pdo , $project )
init function, sets the connection charset to utf8
public array redmineProcessIssue( $row )
pre-processes an issue row to normalize values for arbit use

Inherited Methods

From arbitModuleImporterAbstractDriver
public abstract bool arbitModuleImporterAbstractDriver::checkProject()
check if the user provided project exists in the database
public abstract void arbitModuleImporterAbstractDriver::fetchAttachments()
returns a stmt/map with all attachments data
public abstract void arbitModuleImporterAbstractDriver::fetchComments()
returns a stmt/map with all comments data
public abstract void arbitModuleImporterAbstractDriver::fetchComponents()
returns a stmt/map with name or a fixed array of components defined as:
public abstract void arbitModuleImporterAbstractDriver::fetchIssues()
returns a stmt/map with all issue data
public abstract void arbitModuleImporterAbstractDriver::fetchPriority()
returns a stmt/map with name or a fixed array of priorities defined as:
public abstract void arbitModuleImporterAbstractDriver::fetchResolution()
returns a stmt/map with name or a fixed array of resolutions defined as:
public array arbitModuleImporterAbstractDriver::fetchRow()
fetches a row, applies preprocessing call if needed and then replaces
public abstract void arbitModuleImporterAbstractDriver::fetchStates()
returns a stmt/map with name or a fixed array of states defined as:
public abstract void arbitModuleImporterAbstractDriver::fetchTypes()
returns a stmt/map with name or a fixed array of types defined as:
public abstract void arbitModuleImporterAbstractDriver::fetchUsers()
returns a stmt/map with all users data
public abstract void arbitModuleImporterAbstractDriver::fetchVersions()
returns a stmt/map with name and active or a fixed array of versions defined as:
public void arbitModuleImporterAbstractDriver::init()
init function
protected PDOStatement arbitModuleImporterAbstractDriver::query()
executes a query using the current db handle and returns a statement
protected mixed arbitModuleImporterAbstractDriver::replaceData()
replaces the variables into a string by values from the current row

Methods

checkProject

bool checkProject( )

check if the user provided project exists in the database

check if the user provided project exists in the database

Redefinition of:
Method Description
arbitModuleImporterAbstractDriver::checkProject() check if the user provided project exists in the database

fetchAttachments

void fetchAttachments( )

returns a stmt/map with all attachments data

returns a stmt/map with all attachments data

Redefinition of:
Method Description
arbitModuleImporterAbstractDriver::fetchAttachments() returns a stmt/map with all attachments data

fetchComments

void fetchComments( )

returns a stmt/map with all comments data

returns a stmt/map with all comments data

Redefinition of:
Method Description
arbitModuleImporterAbstractDriver::fetchComments() returns a stmt/map with all comments data

fetchComponents

void fetchComponents( )

returns a stmt/map with name or a fixed array of components defined as:

returns a stmt/map with name or a fixed array of components defined as: 'string(name)' => array()

Redefinition of:
Method Description
arbitModuleImporterAbstractDriver::fetchComponents() returns a stmt/map with name or a fixed array of components defined as:

fetchIssues

void fetchIssues( )

returns a stmt/map with all issue data

returns a stmt/map with all issue data

Redefinition of:
Method Description
arbitModuleImporterAbstractDriver::fetchIssues() returns a stmt/map with all issue data

fetchPriority

void fetchPriority( )

returns a stmt/map with name or a fixed array of priorities defined as:

returns a stmt/map with name or a fixed array of priorities defined as: use arbitModuleImporterController::normalize to generate the normalized version if you provide static values, otherwise it will be done automatically on the result set 'string(normalized name)' => 'string(display name)'

Redefinition of:
Method Description
arbitModuleImporterAbstractDriver::fetchPriority() returns a stmt/map with name or a fixed array of priorities defined as:

fetchResolution

void fetchResolution( )

returns a stmt/map with name or a fixed array of resolutions defined as:

returns a stmt/map with name or a fixed array of resolutions defined as: use arbitModuleImporterController::normalize to generate the normalized version if you provide static values, otherwise it will be done automatically on the result set 'string(normalized name)' => 'string(display name)'

Redefinition of:
Method Description
arbitModuleImporterAbstractDriver::fetchResolution() returns a stmt/map with name or a fixed array of resolutions defined as:

fetchStates

void fetchStates( )

returns a stmt/map with name or a fixed array of states defined as:

returns a stmt/map with name or a fixed array of states defined as: use arbitModuleImporterController::normalize to generate the normalized version if you provide static values, otherwise it will be done automatically on the result set 'string(normalized name)' => 'string(display name)'

Redefinition of:
Method Description
arbitModuleImporterAbstractDriver::fetchStates() returns a stmt/map with name or a fixed array of states defined as:

fetchTypes

void fetchTypes( )

returns a stmt/map with name or a fixed array of types defined as:

returns a stmt/map with name or a fixed array of types defined as: use arbitModuleImporterController::normalize to generate the normalized version if you provide static values, otherwise it will be done automatically on the result set 'string(normalized name)' => 'string(display name)'

Redefinition of:
Method Description
arbitModuleImporterAbstractDriver::fetchTypes() returns a stmt/map with name or a fixed array of types defined as:

fetchUsers

void fetchUsers( )

returns a stmt/map with all users data

returns a stmt/map with all users data

Redefinition of:
Method Description
arbitModuleImporterAbstractDriver::fetchUsers() returns a stmt/map with all users data

fetchVersions

void fetchVersions( )

returns a stmt/map with name and active or a fixed array of versions defined as:

returns a stmt/map with name and active or a fixed array of versions defined as: 'string(name)' => 'int(active : 1/0)'

Redefinition of:
Method Description
arbitModuleImporterAbstractDriver::fetchVersions() returns a stmt/map with name and active or a fixed array of versions defined as:

init

void init( $pdo , string $project )

init function, sets the connection charset to utf8

init function, sets the connection charset to utf8

Parameters:
Name Type Description
$pdo PDO PDO db handle
$project string project identifier
Redefinition of:
Method Description
arbitModuleImporterAbstractDriver::init() init function

redmineProcessIssue

array redmineProcessIssue( $row )

pre-processes an issue row to normalize values for arbit use

pre-processes an issue row to normalize values for arbit use

Parameters:
Name Type Description
$row array data
Documentation generated on Mon, 05 Apr 2010 14:02:15 +0200 by phpDocumentor 1.4.3