Source
139 }
140
141 /**
142 * Get the value of a field on this object. This should be overloaded in child classes.
143 *
144 * @param string $field
145 * @return mixed
146 */
147 public function getField($field) {
148 return $this->$field;
149 }
150
151 /**
152 * Set a field on this object. This should be overloaded in child classes.
153 *
154 * @param string $field
Trace
- ViewableData->getField(template)
ViewableData.php:110
- ViewableData->__get(template)
Controller.php:274
- Controller->getViewer(index)
Controller.php:203
- Controller->handleAction(SS_HTTPRequest,index)
RequestHandler.php:200
- RequestHandler->handleRequest(SS_HTTPRequest,DataModel)
Controller.php:153
- Controller->handleRequest(SS_HTTPRequest,DataModel)
Director.php:325
- Director::handleRequest(SS_HTTPRequest,Session,DataModel)
Director.php:143
- Director::direct(Security/,DataModel)
main.php:189