Skip to content

Commit

Permalink
Merge pull request #7 from deanblackborough/v1.07.0
Browse files Browse the repository at this point in the history
Row and Column
  • Loading branch information
deanblackborough committed Jan 20, 2018
2 parents 1002f9f + 5875881 commit 6487eec
Show file tree
Hide file tree
Showing 7 changed files with 94 additions and 17 deletions.
1 change: 0 additions & 1 deletion .gitignore
@@ -1,2 +1 @@
/vendor/
.idea/
5 changes: 5 additions & 0 deletions CHANGELOG.md
Expand Up @@ -2,6 +2,11 @@

Full changelog for ZF3 view helpers code completion library.

## v1.07.0 - Row and Column - 2018-01-20

* More updates to dependencies.
* Added calls for Bootstrap 4 row and column view helpers.

## v1.06.1 - Minor corrections - 2018-01-05

* Corrected dependencies.
Expand Down
3 changes: 2 additions & 1 deletion README.md
@@ -1,6 +1,7 @@
[![Latest Stable Version](https://img.shields.io/packagist/v/deanblackborough/zf3-view-helpers-code-completion.svg?style=flat-square)](https://packagist.org/packages/deanblackborough/zf3-view-helpers-code-completion)
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/deanblackborough/zf3-view-helpers-code-completion/blob/master/LICENSE)
[![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%207.1-8892BF.svg)](https://php.net/)
[![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%207-8892BF.svg)](https://php.net/)
[![Total Downloads](https://img.shields.io/packagist/dt/deanblackborough/zf3-view-helpers-code-completion.svg?style=flat-square)](https://packagist.org/packages/deanblackborough/zf3-view-helpers-code-completion)

# ZF3 View helpers code completion

Expand Down
3 changes: 2 additions & 1 deletion composer.json
Expand Up @@ -21,7 +21,8 @@
"php": "^7.2"
},
"require-dev": {
"zendframework/zend-view": "^2.9"
"zendframework/zend-view": "^2.10",
"deanblackborough/zf3-view-helpers": "^1"
},
"repositories": [
{
Expand Down
73 changes: 63 additions & 10 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 20 additions & 2 deletions src/CustomAndZend.php
Expand Up @@ -78,6 +78,15 @@ public function bootstrap4Button(string $label) : Zf3ViewHelpers\Bootstrap4Butto
*/
public function bootstrap4Card(string $width_class = '', string $width_attr = '') : Zf3ViewHelpers\Bootstrap4Card {}

/**
* Create a Bootstrap 4 column
*
* @param string $content Column content
*
* @return Zf3ViewHelpers\Bootstrap4Column
*/
public function bootstrap4Column(string $content): Zf3ViewHelpers\Bootstrap4Column {}

/**
* Create a Bootstrap 4 jumbotron component
*
Expand Down Expand Up @@ -114,6 +123,15 @@ public function bootstrap4ProgressBar(int $value): Zf3ViewHelpers\Bootstrap4Prog
*/
public function bootstrap4ProgressBarMultiple(array $values, array $colors): Zf3ViewHelpers\Bootstrap4ProgressBarMultiple {}

/**
* Create a bootstrap 4 row
*
* @param string $content Row content
*
* @return Zf3ViewHelpers\Bootstrap4Row
*/
public function bootstrap4Row(string $content): Zf3ViewHelpers\Bootstrap4Row {}

/**
* @param string $asset
*
Expand Down Expand Up @@ -373,7 +391,7 @@ public function htmlQuicktime(string $data, array $attribs, array $params, strin
*
* @return HtmlTag
*/
public function HtmlTag(array $attribs) : HtmlTag {}
public function htmlTag(array $attribs) : HtmlTag {}

/**
* Retrieve the current identity, if any.
Expand Down Expand Up @@ -408,7 +426,7 @@ public function inlineScript(string $mode, string $spec, string $placement, arra
*
* @return string|void
*/
public function json(mixed $data, array $jsonOptions) : string {}
public function json($data, array $jsonOptions) : string {}

/**
* Set layout template or retrieve "layout" view model
Expand Down
4 changes: 2 additions & 2 deletions src/Zend.php
Expand Up @@ -298,7 +298,7 @@ public function htmlQuicktime(string $data, array $attribs, array $params, strin
*
* @return HtmlTag
*/
public function HtmlTag(array $attribs) : HtmlTag {}
public function htmlTag(array $attribs) : HtmlTag {}

/**
* Retrieve the current identity, if any.
Expand Down Expand Up @@ -333,7 +333,7 @@ public function inlineScript(string $mode, string $spec, string $placement, arra
*
* @return string|void
*/
public function json(mixed $data, array $jsonOptions) : string {}
public function json($data, array $jsonOptions) : string {}

/**
* Set layout template or retrieve "layout" view model
Expand Down

0 comments on commit 6487eec

Please sign in to comment.