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

Class: Console_CommandLine_CustomMessageProvider

Source Location: /Console_CommandLine-1.2.0/Console/CommandLine/CustomMessageProvider.php

Class Overview


Common interfacefor message providers that allow overriding with custom messages


Author(s):

Version:

  • Release: 1.2.0

Copyright:

  • 2007 David JEAN LOUIS, 2009 silverorange

Methods


Inherited Variables

Inherited Methods


Class Details

[line 42]
Common interfacefor message providers that allow overriding with custom messages

Message providers may optionally implement this interface.



[ Top ]


Method Detail

getWithCustomMessages   [line 61]

string getWithCustomMessages( string $code, [array $vars = array()], [array $messages = array()])

Retrieves the given string identifier corresponding message.

For a list of identifiers please see the provided default message provider.


Parameters:

string   $code     The string identifier of the message
array   $vars     An array of template variables
array   $messages     An optional array of messages to use. Array indexes are message codes.

[ Top ]


Documentation generated on Thu, 25 Oct 2012 08:00:05 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.