/** * @param tx_caretaker_AbstractNode $node * @return array */ function getNodeData($node) { $data = parent::getNodeData($node); $range = 24; if ($this->piVars['range']) { $range = (int) $this->piVars['range']; } $data['range'] = $range / 24; return $data; }
function main($content, $conf) { $this->pi_initPIflexForm(); return parent::main($content, $conf); }