Lines Matching defs:value

22  * The value of a tabular is an array of row (where a row is an associative array)
37 * - the key is the `identifier value`
38 * - the value is a list of column metadata
40 * * the value is the metadata
49 * where the identifier value is the key
61 public function setValue($value): Metadata
63 if ($value === null) {
66 if (!is_array($value)) {
69 $keys = array_keys($value);
75 $this->rows = $value;
93 * with their value
94 * Each row has the key has value
112 * The value is:
113 * * a string for a unique identifier value
116 public function setFromStoreValueWithoutException($value): Metadata
119 if ($value === null) {
130 * Single value
132 if (is_string($value)) {
139 ->setValue($value);
148 if (!is_array($value)) {
149 LogUtility::msg("The tabular value is nor a string nor an array");
170 $keys = array_keys($value);
179 if (!isset($value[$identifierName])) {
183 $identifierValues = $value[$identifierName];
190 // only one value
210 $childValue = $value[$name];
231 foreach ($value as $item) {
234 * By default, the single value is the identifier
252 LogUtility::msg("The tabular value is not a string nor an array");
270 LogUtility::msg("The value for the identifier ($identifierPersistentName) was not found");
335 * @throws ExceptionNotFound - if the identifier or it's value was not found
349 throw new ExceptionNotFound("The identifier value was not found in the row");
381 * This function takes the metadata, get the value and
389 throw ExceptionRuntimeInternal::withMessageAndError("The meta identifier ($identifierMetadata) should have a value", $e);