You are here

function FieldsRSIPreventor::__get in Media Gallery 7.2

Same name and namespace in other branches
  1. 7 fields_rsi_prevention.inc \FieldsRSIPreventor::__get()

File

./fields_rsi_prevention.inc, line 48
This file provides easier access on entity properties and methods.

Class

FieldsRSIPreventor
Decorates an entity to provide getters/setters.

Code

function __get($key) {
  return $this->entity->{$key};
}