Esempio n. 1
0
    /**

     * Create Dynaform Rows for a Process form an array

     *

     * @param array $aDynaform

     * @return void

     */

    public function createDynaformRows ($aDynaform)

    {

        foreach ($aDynaform as $key => $row) {

            $oDynaform = new Dynaform();

            //unset ($row['TAS_UID']);

            if ($oDynaform->exists( $row['DYN_UID'] )) {

                $oDynaform->remove( $row['DYN_UID'] );

            }

            $res = $oDynaform->create( $row );

        }

        return;

    }