Пример #1
0
    /**

     * Create Step Supervisor Rows for a Process from an array of data

     *

     * @param $aStepSupervisor array.

     * @return void.

     */

    public function createStepSupervisorRows ($aStepSupervisor)

    {

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

            $oStepSupervisor = new StepSupervisor();

            if ($oStepSupervisor->Exists( $row['STEP_UID'] )) {

                $oStepSupervisor->remove( $row['STEP_UID'] );

            }

            $oStepSupervisor->create( $row );

        }

    } #@!Neyek