Arbit - project tracking

Arbit - project tracking

API documentation :: Docs For Class arbitModuleImporterController

Importer::arbitModuleImporterController

Class arbitModuleImporterController

Base importer controller.

Base importer controller.

ezcMvcController
   |
   --arbitController
      |
      --arbitModuleImporterController
Author(s):
Version:   $Revision$
License:   GPL

Member Variables

protected bool $dummyUserCreated = false
state variable, whether a dummy user singleton has been created or not

state variable, whether a dummy user singleton has been created or not

protected PDO $pdo
importer db connection instance

importer db connection instance

protected array $row
contains the current row so replaceDataHelper can access it

contains the current row so replaceDataHelper can access it

public string $srcProject
contains the source project identifier from the remote tracker

contains the source project identifier from the remote tracker

Method Summary

protected arbitViewModel doImport( $request , $cfg )
import method, does the actual import job using the selected driver
protected arbitViewModel doRegen( $request , $cfg )
regeneration method, sends new passwords to all imported users
protected string generatePassword( )
generates a random 8char password out of A-Za-z0-9
protected string getDummyUser( )
creates a dummy user in case some issues don't have an author or
public arbitViewModel index( $request )
main request handler

Inherited Methods

From arbitController
public static string arbitController::createActionMethodName()
Creates a method name to call from an action name.
public ezcMvcResult|ezcMvcInternalRedirect arbitController::createResult()
Runs the controller to process the query and return variables usable to render the view.
protected void arbitController::setRequestVariables()
Don't copy shit here.
public void arbitController::__call()
Wrapper for unknown actions Wrapper for unknown actions, which throws an exception instead of causing PHP to report a fatal error.

Methods

doImport

arbitViewModel doImport( $request , array $cfg )

import method, does the actual import job using the selected driver

import method, does the actual import job using the selected driver

Parameters:
Name Type Description
$request arbitRequest
$cfg array config params (see index)

doRegen

arbitViewModel doRegen( arbitRequest $request , array $cfg )

regeneration method, sends new passwords to all imported users

regeneration method, sends new passwords to all imported users to edit the mail template see arbit/modules/importer/templates/mail/importer

Parameters:
Name Type Description
$request arbitRequest
$cfg array config params (see index)

generatePassword

string generatePassword( )

generates a random 8char password out of A-Za-z0-9

generates a random 8char password out of A-Za-z0-9

getDummyUser

string getDummyUser( )

creates a dummy user in case some issues don't have an author or

creates a dummy user in case some issues don't have an author or other actions, every orphaned entity will be assigned to it

index

arbitViewModel index( $request )

main request handler

main request handler

Parameters:
Name Type Description
$request arbitRequest
Documentation generated on Mon, 05 Apr 2010 14:01:44 +0200 by phpDocumentor 1.4.3