コード例 #1
0
 /**
  * @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;
 }
コード例 #2
0
 function main($content, $conf)
 {
     $this->pi_initPIflexForm();
     return parent::main($content, $conf);
 }