//Copyright <%CreateDate%> by LaCoNix //Author <%Author%> class <%Code%> extends abstract_form_module { function <%Code%> (&$core, $code) { parent::abstract_form_module(&$core, $code); if ($this->obj == '') $this->obj = '<%Code%>'; } function Section_<%Code%>_List($code, &$name, &$content) { $name=""; $content=""; } function Section_<%Code%>_Card($code, &$name, &$content) { $name=""; $content=""; } function Section_<%Code%>_Form($code, &$name, &$content) { $name=""; $content=""; } function CreateSectionList_<%Code%>() { switch ($this->mode) { case "list": $array = array('LIST_<%Code%>'=>'Section_<%Code%>_List'); break; case "card": $array = array('CARD_<%Code%>'=>'Section_<%Code%>_Card'); break; case "form": $array = array('FORM_<%Code%>'=>'Section_<%Code%>_Form'); break; } return $array; } function GetHeaderData_<%Code%>(&$title, &$path, &$script) { switch ($this->mode) { default: $title = '<%SimpleName%>'; $path = array('<%SimpleName%>'=>''); break; } } function CreateTabSheetList_<%Code%>() { $ts['list'] = array('NAME'=>'List', 'HREF'=>$this->CreateURL("list")); $ts['card'] = array('NAME'=>'Card', 'HREF'=>$this->CreateURL("card")); return $ts; } } ?>