<?php

$bom_stnd_op_res_assignment = new bom_stnd_op_res_assignment();
$bom_stnd_op_res_assignment_object = array();
if (!empty($$class->bom_standard_operation_id)) {
  $bom_stnd_op_res_assignment_object = $bom_stnd_op_res_assignment->findBy_parentId($$class->bom_standard_operation_id);
 if (empty($bom_stnd_op_res_assignment_object)) {
	$bom_stnd_op_res_assignment_object = array();
	array_push($bom_stnd_op_res_assignment_object, $bom_stnd_op_res_assignment);
 }
} else {
 array_push($bom_stnd_op_res_assignment_object, $bom_stnd_op_res_assignment);
}
?>
