17 require_once SQ_CORE_PACKAGE_PATH.
'/system/conditions/condition/condition.inc';
44 parent::__construct($assetid);
60 if (!isset($condition_data[
'types'])) {
64 $current_type = get_class($asset);
65 $asset_types = explode(
',', $condition_data[
'types']);
66 foreach ($asset_types as $asset_type) {
67 if (strcasecmp(trim($asset_type), $current_type) === 0) {