MCPcopy Create free account
hub / github.com/ccoenraets/backbone-cellar / setData

Method setData

tutorial/api/Slim/View.php:97–106  ·  view source on GitHub ↗

* Set data * * This method is overloaded to accept two different method signatures. * You may use this to set a specific key with a specfic value, * or you may use this to set all data to a specific array. * * USAGE: * * View::setData('color', 'red'); * View::setData(array('color' => 'red', 'number' => 1)); * * @param string|array * @pa

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

__constructMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected