17 require_once SQ_CORE_PACKAGE_PATH.
'/system/conditions/condition/condition.inc';
44 parent::__construct($assetid);
60 $required_statii = explode(
',', $condition_data[
'status']);
61 $current_status = $asset->status;
63 $status_in_list = FALSE;
65 foreach ($required_statii as $required_status) {
67 if (!is_numeric($required_status)) {
68 $required_status = get_status_value(trim($required_status));
71 if ($current_status == $required_status) {
72 $status_in_list = TRUE;
78 return $status_in_list;