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

Class: PHP_DocBlockGenerator_Align

Source Location: /PHP_DocBlockGenerator-1.1.2/PHP/DocBlockGenerator/Align.php

Class Overview


Alignment of DocBlocks tags in a PHP file


Author(s):

Version:

  • Release: @package_version@

Copyright:

  • 2007 Michel Corne

Methods


Inherited Variables

Inherited Methods


Class Details

[line 51]
Alignment of DocBlocks tags in a PHP file


[ Top ]


Method Detail

alignTags   [line 129]

string alignTags( string $block)

Aligns the tags within a DocBlock

Calculates the necessary padding/alignments, aligns the tag first line, then the additional lines. The text preceeding the first tag is left untouched.

  • Return: the aligned DocBlock
  • Access: public

Parameters:

string   $block   —  the DocBlock

[ Top ]


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