based on the current state of the controller, sets the open_elements property, which is the array of relevant
open elements for the controller.
protected setOpenElementsFromCurrentEvent ( $action ) |
public function setOpenElementsFromCurrentEvent($action) { parent::setOpenElementsFromCurrentEvent($action); }
/** * Extend base function to ensure there is always an exceptional circumstances for updates. */ protected function setOpenElementsFromCurrentEvent($action) { if ($action == 'update') { $this->setRequiredEventElements(); $this->setElementOptions($action); } else { parent::setOpenElementsFromCurrentEvent($action); } }