Arbit - project tracking

Arbit - project tracking

API documentation :: Docs For Class arbitModuleCiModelBase

Ci::arbitModuleCiModelBase

Class arbitModuleCiModelBase

arbit CI module base model

arbit CI module base model

Author(s):
Version:   $Revision: 1692 $
License:   GPL

Descendants

Child Class Description
arbitModuleCiOverviewModel arbit CI module base overview model
arbitModuleCiChartModel arbit CI module base chart model

Member Variables

protected string $base
Base path for reports

Base path for reports

Method Summary

public static DateTime getDate( $file )
Get date from file Get the date the report has been created for a given file.
public void __construct( $base )
Construct model from base path
public array getResults( $module , $type , [ $count = 50] )
Get the last n results Get the last results for the specified module and result type. to the last 50 results.
public array getResultVersion( $module , $type , $version )
Get the last n results Get the last results for the specified module and result type. to the last 50 results.

Methods

getDate

static DateTime getDate( string $file )

Get date from file Get the date the report has been created for a given file.

Get date from file Get the date the report has been created for a given file.

Parameters:
Name Type Description
$file string

__construct

void __construct( string $base )

Construct model from base path

Construct model from base path

Parameters:
Name Type Description
$base string

getResults

array getResults( string $module , string $type , [int $count = 50] )

Get the last n results Get the last results for the specified module and result type. to the last 50 results.

Get the last n results Get the last results for the specified module and result type. Defaults to the last 50 results. Returns an array of file names.

Parameters:
Name Type Description
$module string
$type string
$count int

getResultVersion

array getResultVersion( string $module , string $type , string $version )

Get the last n results Get the last results for the specified module and result type. to the last 50 results.

Get the last n results Get the last results for the specified module and result type. Defaults to the last 50 results. Returns an array of file names.

Parameters:
Name Type Description
$module string
$type string
$version string
Documentation generated on Mon, 05 Apr 2010 14:01:37 +0200 by phpDocumentor 1.4.3