Lines Matching defs:GridTag

19 class GridTag
37 public const KNOWN_TYPES = [self::TYPE_MAX_CHILDREN, GridTag::TYPE_WIDTH_SPECIFIED, GridTag::TYPE_AUTO_VALUE_DEPRECATED, GridTag::TYPE_FIT_VALUE, GridTag::TYPE_FIT_OLD_VALUE];
66 public const TAG = GridTag::GRID_TAG;
75 public const TAGS = [GridTag::TAG, GridTag::ROW_TAG];
77 public const CANONICAL = GridTag::TAG;
233 $maxLineAttributeValue = $openingCall->getAttribute(GridTag::MAX_CHILDREN_ATTRIBUTE);
241 LogUtility::error("The max-cells attribute value ($maxCellsValue) is not a valid length value. Error: {$e->getMessage()}", GridTag::CANONICAL);
246 LogUtility::error("The max-cells attribute value ($maxCellsValue) should be less than 12.", GridTag::CANONICAL);
250 $openingCall->removeAttribute(GridTag::MAX_CHILDREN_ATTRIBUTE);
251 $type = GridTag::TYPE_MAX_CHILDREN;
272 LogUtility::error("Error internal: We were unable to find the closing template tag.", GridTag::CANONICAL);
296 if ($type !== GridTag::TYPE_ROW_TAG) {
309 $type = GridTag::TYPE_WIDTH_SPECIFIED;
323 LogUtility::warning("The ratio ($ratio) of the width ($conditionalLengthObject) should not be greater than 1 on the children of the row", GridTag::CANONICAL);
338 $type = GridTag::TYPE_MAX_CHILDREN;
351 case GridTag::TYPE_MAX_CHILDREN:
359 LogUtility::error("Bad default value initialization. Error:{$e->getMessage()}", GridTag::CANONICAL);
392 case GridTag::TYPE_WIDTH_SPECIFIED:
429 case GridTag::TYPE_ROW_TAG:
446 LogUtility::error("The grid type ($type) is unknown.", GridTag::CANONICAL);
468 if ($type === GridTag::TYPE_ROW_TAG) {
479 $gutterAttributeValue = $attributes->getValueAndRemoveIfPresent(GridTag::GUTTER);
490 $htmlElement = $attributes->getValueAndRemove(GridTag::HTML_TAG_ATT, "div");
498 $htmlElement = $tagAttributes->getValue(GridTag::HTML_TAG_ATT);