Packageindex Classtrees Modulegroups Elementlist Report XML Files

File: /home/schmitt/local-cvs/midgard-current/workflow/fordoc/VCSession.php
DataWorkFlow + DataflowVC -

VCSession

VCSession

Manages configuration and reuse of db connections, MgdDBs, VersionControl objects.

 

private class VCSession

Manages configuration and reuse of db connections, MgdDBs, VersionControl objects.

 
Direct known subclasses: WorkflowSession

Public Method Summary

object [unknown]

VCSession([ mixed $conf ])

Construct a new VCSession.

Private Method Summary

object [unknown]

&getDbh()

Get the DB handle of the Midgard DB.
object [unknown]

&getGlobDbh()

Get the DB handle of the global DB (that contains meta-data about objects, collections and workflow data)
object [unknown]

&getMgdDB()

Get the Midgard DB as a MgdDB object.
object [unknown]

&getVersionControl()

Get the VersionControl object.
object [unknown]

&getNamespace()

Get the Namespace object (in CVS, a module)
object [unknown]

&getBranch()

Get the Branch object
int

&getBranchId()

Get the id of the current branch.
int

&getBranchLabel()

Get the id of the current branch.
int

&getUser()

Get the current user (guid)
int

&getOutgoing()

Get the outgoing directory
string

getSpoolerUrl()

Get the URL of the spooler on this branch
string

getStatusHandler()

Get the URL of the global status handler script
void

notifySpooler()

Notify the spooler on this branch
void

notifyStatusHandler()

Notify the global status handler

Private Field Summary

unknown

$_dbh

unknown

$_glob_dbh

unknown

$_mgddb

unknown

$_vc

unknown

$_nSpace

unknown

$_branch

unknown

$_branchid

unknown

$_branchlabel

unknown

$_user

unknown

$_outgoing

unknown

$_conf

Public Method Details

VCSession

public object [unknown] VCSession( [ mixed $conf ] )

  Construct a new VCSession.

Parameter
mixed $conf = >>0<<
optional can be an array or a name of a global array that contains configuration data under the keys dbconf, globdbconf, vcconf, fsconf. (see config script)
Returns object [unknown] $vcSession


Private Method Details

&getDbh

private object [unknown] &getDbh( )

  Get the DB handle of the Midgard DB.

Returns object [unknown] $dbh

the handle


&getGlobDbh

private object [unknown] &getGlobDbh( )

  Get the DB handle of the global DB (that contains meta-data about objects, collections and workflow data)

Returns object [unknown] $dbh

the handle


&getMgdDB

private object [unknown] &getMgdDB( )

  Get the Midgard DB as a MgdDB object.

Returns object [unknown] $mgddb


&getVersionControl

private object [unknown] &getVersionControl( )

  Get the VersionControl object.

Returns object [unknown] $vc


&getNamespace

private object [unknown] &getNamespace( )

  Get the Namespace object (in CVS, a module)

Returns object [unknown] $nSpace


&getBranch

private object [unknown] &getBranch( )

  Get the Branch object

Returns object [unknown] $branch


&getBranchId

private int &getBranchId( )

  Get the id of the current branch.

Returns int $id


&getBranchLabel

private int &getBranchLabel( )

  Get the id of the current branch.

Returns int $id


&getUser

private int &getUser( )

  Get the current user (guid)

Returns int $id


&getOutgoing

private int &getOutgoing( )

  Get the outgoing directory

Returns int $id


getSpoolerUrl

private string getSpoolerUrl( )

  Get the URL of the spooler on this branch

Returns string $url


getStatusHandler

private string getStatusHandler( )

  Get the URL of the global status handler script

Returns string $path


notifySpooler

private void notifySpooler( )

  Notify the spooler on this branch

Returns void


notifyStatusHandler

private void notifyStatusHandler( )

  Notify the global status handler

Returns void


Private Field Details

$_dbh

private unknown $_dbh

>><<



$_glob_dbh

private unknown $_glob_dbh

>><<



$_mgddb

private unknown $_mgddb

>><<



$_vc

private unknown $_vc

>><<



$_nSpace

private unknown $_nSpace

>><<



$_branch

private unknown $_branch

>><<



$_branchid

private unknown $_branchid

>><<



$_branchlabel

private unknown $_branchlabel

>><<



$_user

private unknown $_user

>><<



$_outgoing

private unknown $_outgoing

>><<



$_conf

private unknown $_conf

>><<




Packageindex Classtrees Modulegroups Elementlist Report XML Files
PHPDoc 1.0beta