17 require_once SQ_INCLUDE_PATH.
'/asset.inc';
42 parent::__construct($assetid);
70 $condition_data = empty($restriction[
'condition_data']) ? Array() : $restriction[
'condition_data'];
71 $evaluation_instruction =
'$ret = '.$condition_type_code.
'::evaluate($asset, $condition_data);';
73 $GLOBALS[
'SQ_SYSTEM']->am->includeAsset($condition_type_code);
74 eval($evaluation_instruction);
76 if (isset($restriction) && (isset($restriction[
'match'])) && !$restriction[
'match']) {
115 public static function updateKeywords(Array $logical_keywords, Array &$condition_data)
160 $match_options = Array(
161 '1' => translate($type_code.
'_true'),
162 '0' => translate($type_code.
'_false'),
165 return $match_options;