Example #1
0
$generator = new generator();
if (isset($_GET['pageNumber']) && strlen($_GET['pageNumber']) > 0) {
    $generator->setPageNumber($_GET['pageNumber']);
} else {
    $generator->setPageNumber(1);
}
//page one
if (isset($_GET['targetPackage']) && strlen($_GET['targetPackage']) > 0) {
    $generator->setTargetPackage($_GET['targetPackage']);
}
if (isset($_GET['targetModule']) && strlen($_GET['targetModule']) > 0) {
    $generator->setTargetModule($_GET['targetModule']);
}
// page one
if (isset($_GET['project']) && strlen($_GET['project']) > 0) {
    $generator->setProject($_GET['project']);
}
// page 2
if (isset($_GET['targetFormLayout']) && strlen($_GET['targetFormLayout']) > 0) {
    $generator->setTargetFormLayout($_GET['targetFormLayout']);
}
if (isset($_GET['targetSourceCode']) && strlen($_GET['targetSourceCode']) > 0) {
    $generator->setTargetSourceCode($_GET['targetSourceCode']);
}
if (isset($_GET['targetFormStyle']) && strlen($_GET['targetFormStyle']) > 0) {
    $generator->setTargetFormStyle($_GET['targetFormStyle']);
}
if (isset($_GET['targetCodeBlock']) && strlen($_GET['targetCodeBlock']) > 0) {
    $generator->setTargetCodeBlock($_GET['targetCodeBlock']);
}
if (isset($_GET['targetMaximumTabRecord']) && strlen($_GET['targetMaximumTabRecord']) > 0) {