OLD | NEW |
1 {{- Parameters: | 1 {{- Parameters: |
2 |api|: the schema for the API that the function belongs to | 2 |api|: the schema for the API that the function belongs to |
3 |function|: the schema for the function | 3 |function|: the schema for the function |
4 |parentName|: name of the parent object of the function | 4 |parentName|: name of the parent object of the function |
| 5 |disableLink|: if not null, no link will be shown for types |
5 -}} | 6 -}} |
6 <div class="line"> | 7 <code class="prettyprint"> |
7 <span>{{?r:function.returns}}{{+partials.variable_type type:r/}} {{/}}{{?api}}{{
api.namespace}}.{{/}}{{?parentName}}{{parentName}}.{{/}}{{function.name}}</span>
({{#p:function.parameters}}{{+partials.parameter_item parameter:p/}}{{^p.last}},
{{/}}{{/}}) | 8 {{?r:function.returns}}{{+partials.variable_type type:r disableLink:disableLink/
}} |
8 </div> | 9 {{/}}{{?api}}{{api.namespace}}.{{/}}{{?parentName}}{{parentName}}.{{/}}{{functio
n.name}}({{#p:function.parameters}}{{+partials.parameter_item parameter:p disabl
eLink:disableLink/}}{{^p.last}}, {{/}}{{/}}) |
| 10 </code> |
OLD | NEW |