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


Classes:
CodeGen_Command
CodeGen_Dependency_Header
CodeGen_Dependency_Lib
CodeGen_Element
CodeGen_Extension
CodeGen_ExtensionParser
CodeGen_License
CodeGen_License_BSD
CodeGen_License_GPL
CodeGen_License_GPL2
CodeGen_License_GPL3
CodeGen_License_LGPL
CodeGen_License_LGPL21
CodeGen_License_PHP
CodeGen_Maintainer
CodeGen_Release
CodeGen_Tools_Code
CodeGen_Tools_FileReplacer
CodeGen_Tools_Getopt
CodeGen_Tools_Group
CodeGen_Tools_Indent
CodeGen_Tools_IndentC
CodeGen_Tools_Outbuf
CodeGen_Tools_Platform
CodeGen_Tools_Tokenizer
CodeGen_XmlParser
Files:
BSD.php
Code.php
Command.php
Element.php
Extension.php
ExtensionParser.php
FileReplacer.php
Getopt.php
GPL.php
GPL2.php
GPL3.php
Group.php
Header.php
Indent.php
IndentC.php
LGPL.php
LGPL3.php
LGPL21.php
Lib.php
License.php
Maintainer.php
Outbuf.php
PHP.php
Platform.php
Release.php
Tokenizer.php
XmlParser.php

Class: CodeGen_Maintainer

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

Class Overview


A class that describes an extension author or maintainer


Author(s):

Version:

  • Release: @package_version@

Copyright:

  • 2005-2008 Hartmut Holzgraefe

Variables

Methods


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.



[ Top ]


Class Variables

$comment_prefix = "Authors:"

[line 78]

Prefix to use in comment headers
  • Access: protected

Type: bool


[ Top ]

$email =

[line 57]

Email address
  • Access: protected

Type: string


[ Top ]

$first = true

[line 71]

First maintainer added?
  • Access: protected

Type: bool


[ Top ]

$name =

[line 50]

Real name
  • Access: protected

Type: string


[ Top ]

$role = "developer"

[line 64]

Role in this project
  • Access: protected

Type: string


[ Top ]

$user =

[line 43]

Users system account name
  • Access: protected

Type: string


[ Top ]



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
  • Access: public

Parameters:

string $user — CVS user name
string $name — real name
string $email — email address
string $role — role in this project

[ Top ]

comment [line 226]

string comment( )

Generate a comment header line for this author
  • Return: comment line
  • Access: public

[ Top ]

getEmail [line 193]

string getEmail( )

email getter
  • Access: public

[ Top ]

getName [line 166]

string getName( )

real name getter
  • Access: public

[ Top ]

getUser [line 142]

string getUser( )

CVS user getter
  • Access: public

[ Top ]

setEmail [line 179]

bool setEmail( string $email)

Set email address
  • Return: true on success
  • Access: public

Parameters:

string $email — email address

[ Top ]

setName [line 154]

bool setName( string $name)

Set real user name
  • Return: true on success
  • Access: public

Parameters:

string $name — user name

[ Top ]

setRole [line 206]

bool setRole( string $role)

Set project role
  • Return: true on success
  • Access: public

Parameters:

string $role — project role

[ Top ]

setUser [line 126]

bool setUser( string $name)

Set CVS user name
  • Return: true on success
  • Access: public

Parameters:

string $name — CVS user name

[ Top ]

systemUser [line 109]

Maintainer systemUser( )

System user factory
  • Return: object
  • Access: public

[ Top ]


Documentation generated on 2019年3月11日 15:39:07 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.

AltStyle によって変換されたページ (->オリジナル) /