CodeGenerator/Php/Docblock/Tag/Param.php

Show: inherited
Table of Contents

Zend Framework

LICENSE

This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to [email protected] so we can send you a copy immediately.

Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_CodeGenerator  
Subpackage
PHP  
Version
$Id: Param.php 24593 2012-01-05 20:35:02Z matthew $  

\Zend_CodeGenerator_Php_Docblock_Tag_Param

Package: Zend\CodeGenerator

Parent(s)
\Zend_CodeGenerator_Php_Docblock_Tag < \Zend_CodeGenerator_Php_Abstract < \Zend_CodeGenerator_Abstract
Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Constants

Properties

Propertyprotectedstring $_datatype = null

Default valuenullDetails
Type
string
Propertyprotectedstring $_description = null

Default valuenullDetails
Type
string
Propertyprotectedint|string $_indentation = ' '
Default value' 'Details
Type
int | string
Inherited_from
\Zend_CodeGenerator_Php_Abstract::$$_indentation  
Inherited_from
\Zend_CodeGenerator_Php_Docblock_Tag::$$_indentation  
Propertyprotectedstring $_name = null
Default valuenullDetails
Type
string
Inherited_from
\Zend_CodeGenerator_Php_Docblock_Tag::$$_name  
Propertyprotectedstring $_paramName = null

Default valuenullDetails
Type
string
Propertyprotected\Zend_Loader_PluginLoader $_pluginLoader = null

Methods

methodpublic__construct(array $options = array()) : void
Parameters
Name Type Description
$options array
methodpublic__toString() : string
finalinherited

__toString() - casting to a string will in turn call generate()

Inherited from: \Zend_CodeGenerator_Abstract::__toString()\Zend_CodeGenerator_Php_Abstract::__toString()\Zend_CodeGenerator_Php_Docblock_Tag::__toString()
Returns
Type Description
string
methodprotected_init() : void
methodprotected_prepare() : void
methodpublicfactory( $tagName) : void
staticinherited

Inherited from: \Zend_CodeGenerator_Php_Docblock_Tag::factory()
Parameters
Name Type Description
$tagName
methodpublicfromReflection(\Zend_Reflection_Docblock_Tag $reflectionTagParam) : \Zend_CodeGenerator_Php_Docblock_Tag
static

fromReflection()

Parameters
Name Type Description
$reflectionTagParam \Zend_Reflection_Docblock_Tag
Returns
Type Description
\Zend_CodeGenerator_Php_Docblock_Tag
methodpublicgenerate() : string

generate()

Returns
Type Description
string
methodpublicgetDatatype() : string

getDatatype

Returns
Type Description
string
methodpublicgetDescription() : string
inherited

getDescription()

Inherited from: \Zend_CodeGenerator_Php_Docblock_Tag::getDescription()
Returns
Type Description
string
methodpublicgetIndentation() : string | int
Returns
Type Description
string | int
methodpublicgetName() : string
inherited

getName()

Inherited from: \Zend_CodeGenerator_Php_Docblock_Tag::getName()
Returns
Type Description
string
methodpublicgetParamName() : string

getParamName()

Returns
Type Description
string
methodpublicgetPluginLoader() : \Zend_Loader_PluginLoader
staticinherited

getPluginLoader()

Inherited from: \Zend_CodeGenerator_Php_Docblock_Tag::getPluginLoader()
Returns
Type Description
\Zend_Loader_PluginLoader
methodpublicgetSourceContent() : string
Returns
Type Description
string
methodpublicisSourceDirty() : bool
Returns
Type Description
bool
methodpublicsetDatatype(string $datatype) : \Zend_CodeGenerator_Php_Docblock_Tag_Param

setDatatype()

Parameters
Name Type Description
$datatype string
Returns
Type Description
\Zend_CodeGenerator_Php_Docblock_Tag_Param
methodpublicsetDescription(string $description) : \Zend_CodeGenerator_Php_Docblock_Tag
inherited

setDescription()

Inherited from: \Zend_CodeGenerator_Php_Docblock_Tag::setDescription()
Parameters
Name Type Description
$description string
Returns
Type Description
\Zend_CodeGenerator_Php_Docblock_Tag
methodpublicsetIndentation(string | int $indentation) : \Zend_CodeGenerator_Php_Abstract
Parameters
Name Type Description
$indentation string | int
Returns
Type Description
\Zend_CodeGenerator_Php_Abstract
methodpublicsetName(string $name) : \Zend_CodeGenerator_Php_Docblock_Tag
inherited

setName()

Inherited from: \Zend_CodeGenerator_Php_Docblock_Tag::setName()
Parameters
Name Type Description
$name string
Returns
Type Description
\Zend_CodeGenerator_Php_Docblock_Tag
methodpublicsetOptions(array $options) : \Zend_CodeGenerator_Abstract
Parameters
Name Type Description
$options array
Returns
Type Description
\Zend_CodeGenerator_Abstract
methodpublicsetParamName(string $paramName) : \Zend_CodeGenerator_Php_Docblock_Tag_Param

setParamName()

Parameters
Name Type Description
$paramName string
Returns
Type Description
\Zend_CodeGenerator_Php_Docblock_Tag_Param
methodpublicsetPluginLoader(\Zend_Loader_PluginLoader $pluginLoader) : void
staticinherited

setPluginLoader()

Inherited from: \Zend_CodeGenerator_Php_Docblock_Tag::setPluginLoader()
Parameters
Name Type Description
$pluginLoader \Zend_Loader_PluginLoader
methodpublicsetSourceContent(string $sourceContent) : void
Parameters
Name Type Description
$sourceContent string
methodpublicsetSourceDirty(bool $isSourceDirty = true) : \Zend_CodeGenerator_Php_Abstract
Parameters
Name Type Description
$isSourceDirty bool
Returns
Type Description
\Zend_CodeGenerator_Php_Abstract
Documentation was generated by phpDocumentor 2.0.0a8.