One would not usually show so many related wrapper Components in an analysis interface diagram, however the Enum-like encapsulators of permitted values for $cache, $visibility, and $status are relevant here. For the moment they are represented as static constant attributes of wrapper Components, however one could also model them as literals of UML Enumerations.
There are many strategies for imitating Enums in PHP , but until a decision is made about which way to go, it at least helps to have some encapsulation of allowed values as shown. See also the code example below:
© Copyright 2001 - 2016 Webel IT Australia (ABN: 67 677 268 579). All rights reserved (except as specified below).
PHP code examples from Webel IT Australia on this site are distributed under the GNU General Public License.
Excludes text and code snippets from Drupal.org quoted for educational purposes.
Drupal’s online documentation is © 2000-2014 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0.
PHP code from Drupal.org is distributed under the GNU General Public License.
Drupal® is a registered trademark of Dries Buytaert.
Text quoted from Wikipedia for educational purposes is made available under the Creative Commons Attribution-ShareAlike License.
Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.
Site developed by Webel IT Australia.