Arbit - project tracking

Arbit - project tracking

API documentation :: Docs For Class arbitModuleModelTrackerIssueStatistics

Tracker::Model::arbitModuleModelTrackerIssueStatistics

Class arbitModuleModelTrackerIssueStatistics

Issue statistics model;

Issue statistics model;

arbitBaseStruct
   |
   --arbitModelBase
      |
      --arbitModuleModelTrackerIssueStatistics
Author(s):
Version:   $Revision: 1236 $
License:   GPL

Inherited Member Variables

From arbitModelBase
protected arbitModelBase::$defaultFetchMethod
protected arbitModelBase::$id
protected arbitModelBase::$modifiedProperty
protected arbitModelBase::$properties
protected arbitModelBase::$specialFetchMethods
protected arbitModelBase::$static
protected arbitModelBase::$userModelProperties

Method Summary

public static void fetchCommentActivity( [ $days = 30] )
Fetch comment activity statistics Fetch aggregated statistics about comment activity in the database. issue actiity is returned for the number of days specified as a * parameter, which default to the last 30 days.
public static void fetchIssueActivity( [ $days = 30] )
Fetch issue activity statistics Fetch aggregated statistics about issue activity in the database. issue actiity is returned for the number of days specified as a parameter, which default to the last 30 days.
public static void fetchIssueStates( $project , $module )
Fetch issue type statistics Fetch aggregated statistics about issues types in the database.
public static void fetchIssueTypes( $project , $module )
Fetch issue type statistics Fetch aggregated statistics about issues types in the database.
protected static arbitTrackerBackendIniModuleConfiguration getModuleConfiguration( $project , $module )
Get current module confguration
public void create( )
Method called to create a new instance in the backend.
public void storeChanges( )
Method called to store changes to the model.

Inherited Methods

From arbitModelBase
public void arbitModelBase::__construct()
Create model from identifier If the identifier of the model is known from somewhere in the application you may set it directly here instead of searching for some value.
public abstract void arbitModelBase::create()
Method called to create a new instance in the backend.
protected array arbitModelBase::getModifiedValues()
Return modified values Return an array with all values which has been modified on the current model instance, with their new values.
public abstract void arbitModelBase::storeChanges()
Method called to store changes to the model.
protected mixed arbitModelBase::toUserModel()
Transform value to user model(s) Transform a user ID or an array with user IDs in the a user mdoel, or an array of user models.
protected array arbitModelBase::transformUserProperties()
Transform all user properties Transform all iser IDs in the declared user properties into user models.
From arbitBaseStruct
protected void arbitBaseStruct::deepClone()
Deep clone array structures
public array arbitBaseStruct::getProperties()
Get property names Returns an arary with all properties defined in this struct.
public void arbitBaseStruct::__clone()
Method called, when struct ist cloned

Methods

fetchCommentActivity

static void fetchCommentActivity( [int $days = 30] )

Fetch comment activity statistics Fetch aggregated statistics about comment activity in the database. issue actiity is returned for the number of days specified as a * parameter, which default to the last 30 days.

Fetch comment activity statistics Fetch aggregated statistics about comment activity in the database. The issue actiity is returned for the number of days specified as a * parameter, which default to the last 30 days.

Parameters:
Name Type Description
$days int

fetchIssueActivity

static void fetchIssueActivity( [int $days = 30] )

Fetch issue activity statistics Fetch aggregated statistics about issue activity in the database. issue actiity is returned for the number of days specified as a parameter, which default to the last 30 days.

Fetch issue activity statistics Fetch aggregated statistics about issue activity in the database. The issue actiity is returned for the number of days specified as a parameter, which default to the last 30 days.

Parameters:
Name Type Description
$days int

fetchIssueStates

static void fetchIssueStates( string $project , string $module )

Fetch issue type statistics Fetch aggregated statistics about issues types in the database.

Fetch issue type statistics Fetch aggregated statistics about issues types in the database.

Parameters:
Name Type Description
$project string
$module string

fetchIssueTypes

static void fetchIssueTypes( string $project , string $module )

Fetch issue type statistics Fetch aggregated statistics about issues types in the database.

Fetch issue type statistics Fetch aggregated statistics about issues types in the database.

Parameters:
Name Type Description
$project string
$module string

getModuleConfiguration

static arbitTrackerBackendIniModuleConfiguration getModuleConfiguration( string $project , string $module )

Get current module confguration

Get current module confguration Get current module confguration

Parameters:
Name Type Description
$project string
$module string

create

void create( )

Method called to create a new instance in the backend.

Method called to create a new instance in the backend. Method called when the model should be created in the backend the first time. This will normally throw an error if a model with the same identifier already exists in the backend.

Redefinition of:
Method Description
arbitModelBase::create() Method called to create a new instance in the backend.

storeChanges

void storeChanges( )

Method called to store changes to the model.

Method called to store changes to the model. Method called to store changes in the model to the backend. The method should only modify the backend data, if something really has been changed in the model. Use the __set() method, which should wrap all write access to the model, to remember write access.

Redefinition of:
Method Description
arbitModelBase::storeChanges() Method called to store changes to the model.
Documentation generated on Mon, 05 Apr 2010 14:02:01 +0200 by phpDocumentor 1.4.3