Example #1
0
        $vertrag = $action->GetPropertyHandle("vertrag");
        $vn = $action->GetPropertyHandle("versicherungsnehmer");
        $partner = $action->GetPropertyHandle("partner");
        $notiz = $action->GetPropertyHandle("notizen");
        echo $action->GetCount();
        $indx = 0;
        while ($action->GetAtPosition($indx)) {
            echo "\n" . $indx . ":" . $action->GetString("typ");
            echo "\n Vertrag:" . $this->drawNotiz($vertrag);
            $vn->GetAtPosition(0);
            $partner->GetAtPosition(0);
            echo "\n VN:" . $this->drawActor($vn);
            echo "\n Partner:" . $this->drawActor($partner);
            if ($notiz->GetCount() > 0) {
                echo "\n Notizen:";
                while ($notiz->GetAtPosition($notiz->GetCurrentIndex() + 1)) {
                    echo $this->drawNotiz($notiz);
                }
            }
            $indx++;
        }
        /*
               echo $action->ToTop();
               while($action->GetAtPosition($action->GetCurrentIndex()+1)){
                 echo $action->GetString("typ");
               }*/
    }
}
$v = new View();
$v->test();