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

Class: Console_CommandLine_Argument

Source Location: /Console_CommandLine-1.0.0/CommandLine/Argument.php

Class Overview

Console_CommandLine_Element
   |
   --Console_CommandLine_Argument

Class that represent a command line argument.


Author(s):

Version:

  • Release: 1.0.0

Copyright:

  • 2007 David JEAN LOUIS

Variables

Methods


Inherited Variables

Inherited Methods

Class: Console_CommandLine_Element

Console_CommandLine_Element::__construct()
Constructor.
Console_CommandLine_Element::toString()
Return the string representation of the argument.
Console_CommandLine_Element::validate()
Validate the option instance.

Class Details

[line 38]
Class that represent a command line argument.


[ Top ]


Class Variables

$multiple =  false

[line 48]

If set to true argument values will be stored in an array.
  • Access: public

Type:   boolean


[ Top ]



Method Detail

validate   [line 59]

void validate( )

Validate the option instance.
  • Access: public

Overrides Console_CommandLine_Element::validate() (Validate the option instance.)
[ Top ]


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