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

Class: Microsoft_Console_Command

Source Location: /Console/Command.php

Class Overview




Author(s):

Copyright:

  • Copyright (c) 2009 - 2011, RealDolmen (http://www.realdolmen.com)

Variables

Methods


Child classes:


Class Details

[line 46]


Tags:

copyright:  Copyright (c) 2009 - 2011, RealDolmen (http://www.realdolmen.com)
license:  http://phpazure.codeplex.com/license


[ Top ]


Class Variables

$_handler =

[line 53]

The handler.



Tags:

access:  protected

Type:   array


[ Top ]



Class Methods


static method bootstrap [line 119]

static void bootstrap( array $argv)

Bootstrap the shell command.



Tags:

access:  public


Parameters:

array   $argv   PHP argument values.

[ Top ]

static method phpstderr [line 85]

static void phpstderr( mixed $errno, mixed $errstr, mixed $errfile, mixed $errline)

Replaces PHP's error handler



Tags:

access:  public


Parameters:

mixed   $errno  
mixed   $errstr  
mixed   $errfile  
mixed   $errline  

[ Top ]

static method phpstdex [line 95]

static void phpstdex( Exception $exception)

Replaces PHP's exception handler



Tags:

access:  public


Parameters:

Exception   $exception  

[ Top ]

static method stderr [line 106]

static void stderr( string $errorMessage, [string $newLine = true])

Writes output to STDERR, followed by a newline (optional)



Tags:

access:  public


Parameters:

string   $errorMessage  
string   $newLine  

[ Top ]

static method _buildModel [line 217]

static array _buildModel( )

Builds the handler model.



Tags:

access:  protected


[ Top ]

static method _findValueForDocComment [line 341]

static array _findValueForDocComment( string $docCommentName, unknown_type $docComment)

Finds the value for a specific docComment.



Tags:

access:  protected


Parameters:

string   $docCommentName   Comment name
unknown_type   $docComment   Comment object

[ Top ]

method getHandler [line 60]

array getHandler( )

Gets the handler.



Tags:

access:  public


[ Top ]

method helpCommand [line 377]

void helpCommand( )

Displays the help information.



Tags:

access:  public


Overridden in child classes as:

Microsoft_WindowsAzure_CommandLine_PackageScaffolder_PackageScaffolderAbstract::helpCommand()
Displays the help information.

[ Top ]

method setHandler [line 71]

Microsoft_Console_Command setHandler( array $handler)

Sets the handler.



Tags:

access:  public


Parameters:

array   $handler  

[ Top ]

method _displayObjectInformation [line 361]

void _displayObjectInformation( object $object, [array $propertiesToDump = array()])

Display information on an object



Tags:

access:  protected


Parameters:

object   $object   Object
array   $propertiesToDump   Property names to display

[ Top ]


Documentation generated on Sat, 03 Dec 2011 13:59:16 +0100 by phpDocumentor 1.4.3