Class: CodeGen_Maintainer
Source Location: /CodeGen-1.0.7/CodeGen/Maintainer.php
A class that describes an extension author or maintainer
Author(s):
Version:
- Release: @package_version@
Copyright:
- 2005-2008 Hartmut Holzgraefe
Inherited Variables
Inherited Methods
Class Details
[line 36]
A class that describes an extension author or maintainer
This class wraps up the functionality needed for the command line script.
Class Variables
$comment_prefix = "Authors:"
[line 78]
Prefix to use in comment headers
$email =
[line 57]
Email address
$first = true
[line 71]
First maintainer added?
$name =
[line 50]
Real name
$role = "developer"
[line 64]
Role in this project
$user =
[line 43]
Users system account name
Method Detail
__construct (Constructor) [line 89]
CodeGen_Maintainer __construct(
[string
$user = "unknown"], [string
$name = "Anonymous Coward"], [string
$email = "unknown@example.org"], [string
$role = "unknown"])
Constructor
Parameters:
string
$user
—
CVS user name
string
$name
—
real name
string
$email
—
email address
string
$role
—
role in this project
comment [line 226]
Generate a comment header line for this author
- Return: comment line
- Access: public
getEmail [line 193]
getName [line 166]
getUser [line 142]
setEmail [line 179]
bool setEmail(
string
$email)
Set email address
- Return: true on success
- Access: public
Parameters:
string
$email
—
email address
setName [line 154]
bool setName(
string
$name)
Set real user name
- Return: true on success
- Access: public
Parameters:
setRole [line 206]
bool setRole(
string
$role)
Set project role
- Return: true on success
- Access: public
Parameters:
string
$role
—
project role
setUser [line 126]
bool setUser(
string
$name)
Set CVS user name
- Return: true on success
- Access: public
Parameters:
string
$name
—
CVS user name
systemUser [line 109]
System user factory
- Return: object
- Access: public
Documentation generated on 2019年3月11日 15:39:07 -0400 by
phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.