@@ 63-73 (lines=11) @@ | ||
60 | $module = $id_args[0]; |
|
61 | $id = $id_args[1]; |
|
62 | } |
|
63 | else if(count($id_args) == 3) |
|
64 | { |
|
65 | $target = $id_args[0]; |
|
66 | $targetList = array('modules' => 1, 'addons' => 1, 'widgets' => 1); |
|
67 | if(!isset($targetList[$target])) |
|
68 | { |
|
69 | return; |
|
70 | } |
|
71 | $module = $id_args[1]; |
|
72 | $id = $id_args[2]; |
|
73 | } |
|
74 | ||
75 | // get column properties from the table |
|
76 | $table_file = sprintf('%s%s/%s/schemas/%s.xml', _XE_PATH_, 'modules', $module, $table_name); |
@@ 535-546 (lines=12) @@ | ||
532 | $module = $id_args[0]; |
|
533 | $id = $id_args[1]; |
|
534 | } |
|
535 | elseif(count($id_args) == 3) |
|
536 | { |
|
537 | $target = $id_args[0]; |
|
538 | $typeList = array('addons' => 1, 'widgets' => 1); |
|
539 | if(!isset($typeList[$target])) |
|
540 | { |
|
541 | $this->actDBClassFinish(); |
|
542 | return; |
|
543 | } |
|
544 | $module = $id_args[1]; |
|
545 | $id = $id_args[2]; |
|
546 | } |
|
547 | if(!$target || !$module || !$id) |
|
548 | { |
|
549 | $this->actDBClassFinish(); |