Skip to content

Commit

Permalink
Merge branch 'docs/35' into develop
Browse files Browse the repository at this point in the history
Forward port #35
  • Loading branch information
michalbundyra committed Mar 18, 2020
2 parents 833bd5c + 24c39f5 commit 3b92a7c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/book/helpers/placeholder.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,15 @@ variety of methods for formatting the content stored in the container:
passed, the string will be used. Use `getIndent()` at any time to determine
what the current setting is.

Set the data in one view script:

```php
<!-- first view script -->
<?php $this->placeholder('foo')->exchangeArray($this->data) ?>
```

And retrieve the data and output it in another view script:

```php
<!-- later view script -->
<?php
Expand Down

0 comments on commit 3b92a7c

Please sign in to comment.