4.1 Demonstrate ability to write code using core and Object Oriented PHP
PreviousDomain 4.0: Back end development (coding)Next4.2 Demonstrate ability to develop Custom Modules using Drupal API for extending Drupal functionalit
Last updated
Last updated
Review the differences between an abstract class and a base class. Review PHP constants.
A base class creates consistent reusable code. When you extend a class the new subclass inherits all methods from the parent class.
An provides a template for inheriting base class methods. Abstract classes cannot be instantiated
An interface provides methods but does not define how to use the methods.
are global variables and must always be declared in UPPERCASE
according to .