Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

Commit b9af1d7

Browse files
committed
Added @method PHPDoc for view helpers
Closes zendframework#526
1 parent 7a7c540 commit b9af1d7

File tree

1 file changed

+53
-4
lines changed

1 file changed

+53
-4
lines changed

library/Zend/View.php

Lines changed: 53 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,59 @@
2929
/**
3030
* Concrete class for handling view scripts.
3131
*
32-
* @category Zend
33-
* @package Zend_View
34-
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
35-
* @license http://framework.zend.com/license/new-bsd New BSD License
32+
* @category Zend
33+
* @package Zend_View
34+
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
35+
* @license http://framework.zend.com/license/new-bsd New BSD License
36+
*
37+
* Convenience methods for build in helpers (@see __call):
38+
*
39+
* @method string baseUrl($file = null)
40+
* @method string currency($value = null, $currency = null)
41+
* @method Zend_View_Helper_Cycle cycle(array $data = array(), $name = Zend_View_Helper_Cycle::DEFAULT_NAME)
42+
* @method Zend_View_Helper_Doctype doctype($doctype = null)
43+
* @method string fieldset($name, $content, $attribs = null)
44+
* @method string form($name, $attribs = null, $content = false)
45+
* @method string formButton($name, $value = null, $attribs = null)
46+
* @method string formCheckbox($name, $value = null, $attribs = null, array $checkedOptions = null)
47+
* @method string formErrors($errors, array $options = null)
48+
* @method string formFile($name, $attribs = null)
49+
* @method string formHidden($name, $value = null, array $attribs = null)
50+
* @method string formImage($name, $value = null, $attribs = null)
51+
* @method string formLabel($name, $value = null, array $attribs = null)
52+
* @method string formMultiCheckbox($name, $value = null, $attribs = null, $options = null, $listsep = "<br />\n")
53+
* @method string formNote($name, $value = null)
54+
* @method string formPassword($name, $value = null, $attribs = null)
55+
* @method string formRadio($name, $value = null, $attribs = null, $options = null, $listsep = "<br />\n")
56+
* @method string formReset($name = '', $value = 'Reset', $attribs = null)
57+
* @method string formSelect($name, $value = null, $attribs = null, $options = null, $listsep = "<br />\n")
58+
* @method string formSubmit($name, $value = null, $attribs = null)
59+
* @method string formText($name, $value = null, $attribs = null)
60+
* @method string formTextarea($name, $value = null, $attribs = null)
61+
* @method Zend_View_Helper_Gravatar gravatar($email = "", $options = array(), $attribs = array())
62+
* @method Zend_View_Helper_HeadLink headLink(array $attributes = null, $placement = Zend_View_Helper_Placeholder_Container_Abstract::APPEND)
63+
* @method Zend_View_Helper_HeadMeta headMeta($content = null, $keyValue = null, $keyType = 'name', $modifiers = array(), $placement = Zend_View_Helper_Placeholder_Container_Abstract::APPEND)
64+
* @method Zend_View_Helper_HeadScript headScript($mode = Zend_View_Helper_HeadScript::FILE, $spec = null, $placement = 'APPEND', array $attrs = array(), $type = 'text/javascript')
65+
* @method Zend_View_Helper_HeadStyle headStyle($content = null, $placement = 'APPEND', $attributes = array())
66+
* @method Zend_View_Helper_HeadTitle headTitle($title = null, $setType = null)
67+
* @method string htmlFlash($data, array $attribs = array(), array $params = array(), $content = null)
68+
* @method string htmlList(array $items, $ordered = false, $attribs = false, $escape = true)
69+
* @method string htmlObject($data, $type, array $attribs = array(), array $params = array(), $content = null)
70+
* @method string htmlPage($data, array $attribs = array(), array $params = array(), $content = null)
71+
* @method string htmlQuicktime($data, array $attribs = array(), array $params = array(), $content = null)
72+
* @method Zend_View_Helper_InlineScript inlineScript($mode = Zend_View_Helper_HeadScript::FILE, $spec = null, $placement = 'APPEND', array $attrs = array(), $type = 'text/javascript')
73+
* @method string|void json($data, $keepLayouts = false, $encodeData = true)
74+
* @method Zend_View_Helper_Layout layout()
75+
* @method Zend_View_Helper_Navigation navigation(Zend_Navigation_Container $container = null)
76+
* @method string paginationControl(Zend_Paginator $paginator = null, $scrollingStyle = null, $partial = null, $params = null)
77+
* @method string partial($name = null, $module = null, $model = null)
78+
* @method string partialLoop($name = null, $module = null, $model = null)
79+
* @method Zend_View_Helper_Placeholder_Container_Abstract placeholder($name)
80+
* @method void renderToPlaceholder($script, $placeholder)
81+
* @method string serverUrl($requestUri = null)
82+
* @method string translate($messageid = null)
83+
* @method string url(array $urlOptions = array(), $name = null, $reset = false, $encode = true)
84+
* @method Zend_Http_UserAgent userAgent(Zend_Http_UserAgent $userAgent = null)
3685
*/
3786
class Zend_View extends Zend_View_Abstract
3887
{

0 commit comments

Comments
 (0)