CodeGen
[ class tree: CodeGen ] [ index: CodeGen ] [ all elements ]

Class: CodeGen_Release

Source Location: /CodeGen-1.0.7/CodeGen/Release.php

Class Overview


Class collecting release information


Author(s):

Version:

  • Release: @package_version@

Copyright:

  • 2005-2008 Hartmut Holzgraefe

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 36]
Class collecting release information

This class wraps up the functionality needed for the command line script.



[ Top ]


Class Variables

$date =  ""

[line 83]

The release date
  • Access: protected

Type:   string


[ Top ]

$notes =  ""

[line 175]

Release notes
  • Access: protected

Type:   string


[ Top ]

$state =  "devel"

[line 129]

The 'state': alpha, beta, stable, devel ...
  • Access: protected

Type:   string


[ Top ]

$version =  "0.0.1dev"

[line 44]

The current version number
  • Access: protected

Type:   string


[ Top ]



Method Detail

__construct (Constructor)   [line 212]

CodeGen_Release __construct( )

Constructor
  • Access: public

[ Top ]

getDate   [line 114]

int getDate( )

date getter
  • Access: public

[ Top ]

getNotes   [line 198]

string getNotes( )

notes getter
  • Access: public

[ Top ]

getState   [line 160]

string getState( )

state getter
  • Access: public

[ Top ]

getVersion   [line 70]

string getVersion( )

version getter
  • Access: public

[ Top ]

setDate   [line 92]

bool setDate( mixed $date)

Set method for release date
  • Return: true on success
  • Access: public

Parameters:

mixed   $date   —  either a UNIX timestamp or a strtotime() parsable string

[ Top ]

setNotes   [line 185]

bool setNotes( string $notes)

Set method for release notes
  • Return: true on success
  • Access: public

Parameters:

string   $notes   —  release notes

[ Top ]

setState   [line 138]

bool setState( string $state)

Set method for state
  • Return: true on success
  • Access: public

Parameters:

string   $state   —  state

[ Top ]

setVersion   [line 53]

bool setVersion( string $version)

Set method for version number
  • Return: true on success
  • Access: public

Parameters:

string   $version   —  version

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:39:07 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.