Textpattern | PHP Cross Reference | Content Management Systems |
Description: Textile - A Humane Web Text Generator.
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
DataBag:: (2 methods):
__construct()
__call()
Simple data storage.
__construct(array $data = null) line: 64 |
Constructor. param: array|null $data The initial data array stored in the bag |
__call($name, array $params) line: 75 |
Adds a value to the bag. Empty values are rejected, unless the second argument is set TRUE. <code> use Netcarver\Textile\DataBag; $plant = new DataBag(array('key' => 'value')); $plant->flower('rose')->color('red')->emptyValue(false, true); </code> return: DataBag param: string $name The name param: array $params Arguments |
title