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

Class: Console_CommandLine_Renderer

Source Location: /Console_CommandLine-1.0.0RC3/CommandLine/Renderer.php

Class Overview


Renderers common interface, all renderers must implement this interface.


Author(s):

Version:

  • Release: 1.0.0RC3

Copyright:

  • 2007 David JEAN LOUIS

Methods


Inherited Variables

Inherited Methods


Class Details

[line 36]
Renderers common interface, all renderers must implement this interface.


[ Top ]


Method Detail

__construct (Constructor)   [line 47]

Console_CommandLine_Renderer __construct( object $parser)

Constructor.
  • Access: public

Parameters:

object   $parser   —  a Console_CommandLine instance

[ Top ]

error   [line 71]

string error( string $error)

Return a formatted error message
  • Return: the error string
  • Access: public

Parameters:

string   $error   —  the error message to format

[ Top ]

usage   [line 58]

string usage( )

Return the full usage message.
  • Return: the usage message
  • Access: public

[ Top ]

version   [line 82]

string version( )

Return the program version string.
  • Return: the version string
  • Access: public

[ Top ]


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