Bluz\Layout\Layout
Layout
- Author: Anton Shevchuk
Synopsis
- // members
- protected $content;
- // Inherited members from View
- protected $baseUrl;
- protected $path;
- protected array $partialPath;
- protected $template;
- // methods
- public void __construct()
- public View getContent()
- public void setContent()
- // Inherited methods from View
- public void __construct()
- public string __toString()
- public string getPath()
- public void setPath()
- public string getTemplate()
- public void setTemplate()
- public void addPartialPath()
- // Inherited methods from Container
- protected void doSetContainer()
- protected mixed doGetContainer()
- protected bool doContainsContainer()
- protected void doDeleteContainer()
- public Container setFromArray()
- public array toArray()
- public Container resetArray()
- // Inherited methods from JsonSerialize
- public array jsonSerialize()
- // Inherited methods from MagicAccess
- public void __set()
- public mixed __get()
- public bool __isset()
- public void __unset()
- // Inherited methods from Options
- public mixed getOption()
- public void setOption()
- public array getOptions()
- public Options setOptions()
- protected void initOptions()
- // Inherited methods from Helper
- public void addHelperPath()
- public mixed __call()
- // Inherited methods from ResponseTrait
- public abstract string jsonSerialize()
- public abstract string __toString()
- public string render()
- // Inherited methods from RegularAccess
- public void set()
- public mixed get()
- public bool contains()
- public void delete()
Hierarchy
Members
protected
- $baseUrl — string
- $container — array
- $content — mixed
- $helpers — array
- $helpersPath — array
- $options — array
- $partialPath — array
- $path — string
- $template — string
Methods
public
- __construct() — Layout constructor - init Layout helpers - call parent View constructor
- getContent() — Get content
- setContent() — Set content
Inherited from Bluz\View\View
public
- __toString() — Render like string
- addPartialPath() — Add partial path for use inside partial and partialLoop helpers
- getPath() — {@inheritdoc}
- getTemplate() — {@inheritdoc}
- setPath() — {@inheritdoc}
- setTemplate() — {@inheritdoc}
Inherited from Bluz\Common\Container\Container
protected
- doContainsContainer() — Check contains key in container
- doDeleteContainer() — Delete value by key
- doGetContainer() — Get value by key
- doSetContainer() — Set key/value pair
public
- resetArray() — Reset container array
- setFromArray() — Sets all data in the row from an array
- toArray() — Returns the column/value data as an array
Inherited from Bluz\Common\Container\JsonSerialize
public
- jsonSerialize() — Specify data which should be serialized to JSON
Inherited from Bluz\Common\Container\MagicAccess
public
- __get() — Magic alias for get() regular method
- __isset() — Magic alias for contains() regular method
- __set() — Magic alias for set() regular method
- __unset() — Magic alias for delete() regular method
Inherited from Bluz\Common\Options
protected
- initOptions() — Check and initialize options in package
public
- getOption() — Get option by key
- getOptions() — Get all options
- setOption() — Set option by key over setter
- setOptions() — Setup, check and init options
Inherited from Bluz\Common\Helper
public
- __call() — Call magic helper
- addHelperPath() — Add helper path
Inherited from Bluz\Response\ResponseTrait
public
- __toString()
- jsonSerialize()
- render() — Render object as HTML or JSON
Inherited from Bluz\Common\Container\RegularAccess
public
- contains() — Check contains key in container
- delete() — Delete value by key
- get() — Get value by key
- set() — Set key/value pair
History
-
2017-08-31T09:15:41+00:00 (commit #88eb1ac)
Author: Anton Shevchuk (AntonShevchuk@gmail.com) / Commiter: Anton Shevchuk (AntonShevchuk@gmail.com)
Added Layout helpers `TitleAppend` and `TitlePrepend`
-
2017-06-30T08:36:40+00:00 (commit #2259ecf)
Author: Anton Shevchuk (AntonShevchuk@gmail.com) / Commiter: Anton Shevchuk (AntonShevchuk@gmail.com)
Fixed comments style
-
2017-04-24T16:04:21+00:00 (commit #d59d72a)
Author: Anton Shevchuk (AntonShevchuk@gmail.com) / Commiter: Anton Shevchuk (AntonShevchuk@gmail.com)
Added `value()` function Refactoring for all callable arguments
-
2017-04-21T16:03:13+00:00 (commit #41cf4f8)
Author: Anton Shevchuk (AntonShevchuk@gmail.com) / Commiter: Anton Shevchuk (AntonShevchuk@gmail.com)
Small optimizations
-
2017-04-21T13:24:35+00:00 (commit #3b25a3d)
Author: Anton Shevchuk (AntonShevchuk@gmail.com) / Commiter: Anton Shevchuk (AntonShevchuk@gmail.com)
Small update for codestyle
-
2017-04-11T08:21:54+00:00 (commit #f9900f1)
Author: Anton Shevchuk (AntonShevchuk@gmail.com) / Commiter: Anton Shevchuk (AntonShevchuk@gmail.com)
Small refactoring for call `__DIR__`
-
2017-02-15T16:09:44+00:00 (commit #0fc0c8b)
Author: Anton Shevchuk (AntonShevchuk@gmail.com) / Commiter: Anton Shevchuk (AntonShevchuk@gmail.com)
Updated coveralls config
-
2017-02-13T10:14:18+00:00 (commit #43dbf55)
Author: Anton Shevchuk (AntonShevchuk@gmail.com) / Commiter: Anton Shevchuk (AntonShevchuk@gmail.com)
Rollback to `getCount()` method
-
2017-01-30T13:15:49+00:00 (commit #fd5d943)
Author: Anton (AntonShevchuk@gmail.com) / Commiter: GitHub (AntonShevchuk@gmail.com)
Merge pull request #395 from AntonShevchuk/master Added `AttachmentResponse`
-
2017-01-30T12:38:53+00:00 (commit #0ab8691)
Author: Anton Shevchuk (AntonShevchuk@gmail.com) / Commiter: Anton Shevchuk (AntonShevchuk@gmail.com)
Added `AttachmentResponse` Added `attachment($file)` helper for `Controller`