Showing 3,246 of 4,217 total issues
Avoid too many return
statements within this method. Open
Open
return form($replace, ['selected' => $_SESSION[$filter_name], 'class' => 'form-horizontal form-condensed'])
->text('name')
->select_box('order_by', $order_fields, ['show_text' => 1, 'translate' => 1]);
Avoid too many return
statements within this method. Open
Open
return form($replace, ['selected' => $_SESSION[$filter_name], 'class' => 'form-horizontal form-condensed'])
->container(_class('manage_shop_filter')->_product_search_widget('item_id', $_SESSION[$filter_name]['item_id']), 'Item id')
->text('name')
->text('user_id', 'Admin')
->datetime_select('add_date', null, ['with_time' => 1])
Avoid too many return
statements within this method. Open
Open
return '';
Avoid too many return
statements within this method. Open
Open
return $result;
Avoid too many return
statements within this method. Open
Open
return common()->show_messages()
. '<br />path: ' . _prepare_html($title) . ', size: ' . filesize($target)
. '<br /><a href="' . $web_path . '" target="_blank"><img src="' . $web_path . '" style="max-width: 200px; max-height: 200px;"></a>'
. '<br /><br />' . a(['href' => '/@object/show/' . urlencode($title), 'title' => 'Go Next', 'target' => '']);
Avoid too many return
statements within this method. Open
Open
return $val;
Avoid too many return
statements within this method. Open
Open
return form($replace, ['selected' => $_SESSION[$filter_name], 'class' => 'form-horizontal form-condensed'])
->text('title')
->select_box('order_by', $order_fields, ['show_text' => 1, 'translate' => 1]);
Avoid too many return
statements within this method. Open
Open
return $filters[$action]($filter_name, $replace)
->radio_box('order_direction', ['asc' => 'Ascending', 'desc' => 'Descending'], ['horizontal' => 1])
->save_and_clear();
Avoid too many return
statements within this method. Open
Open
return [
'status' => 'Success',
'img' => $thumb_name,
'id' => $product['id'],
];
Avoid too many return
statements within this method. Open
Open
return $from_conf;
Avoid too many return
statements within this method. Open
Open
return form($replace, ['selected' => $_SESSION[$filter_name], 'class' => 'form-horizontal form-condensed'])
->text('name')
->chosen_box('cat_id', module('manage_shop')->_cats_for_select, ['desc' => 'Main category', 'show_text' => 1, 'no_translate' => 1])
->select_box('order_by', $order_fields, ['show_text' => 1, 'translate' => 1]);
Avoid too many return
statements within this method. Open
Open
return form($replace, ['selected' => $_SESSION[$filter_name], 'class' => 'form-horizontal form-condensed'])
->number('id', ['class' => 'span1', 'min' => 0])
->container(_class('manage_shop_filter')->_product_search_widget('product_id', $_SESSION[$filter_name]['product_id']), 'product_id')
->datetime_select('add_date', null, ['with_time' => 1])
->datetime_select('add_date__and', null, ['with_time' => 1])
Avoid too many return
statements within this method. Open
Open
return form($replace, ['selected' => $_SESSION[$filter_name], 'class' => 'form-horizontal form-condensed'])
->text('item_id', 'item id')
->text('user_id', 'Admin')
->datetime_select('add_date', null, ['with_time' => 1])
->datetime_select('add_date__and', null, ['with_time' => 1])
Avoid too many return
statements within this method. Open
Open
return $this->_order_revisions_similar();
Avoid too many return
statements within this method. Open
Open
return $row['price_unit'];
Avoid too many return
statements within this method. Open
Open
return json_encode('ok');
Avoid too many return
statements within this method. Open
Open
return $default;
Avoid too many return
statements within this method. Open
Open
return form($replace, ['selected' => $_SESSION[$filter_name], 'class' => 'form-horizontal form-condensed'])
->text('id', 'Номер')
->text('value', 'Название')
->active_box('active', ['horizontal' => 1]);
Avoid too many return
statements within this method. Open
Open
return form($replace, ['selected' => $_SESSION[$filter_name], 'class' => 'form-horizontal form-condensed'])
->container(_class('manage_shop_filter')->_product_search_widget('product_id', $_SESSION[$filter_name]['product_id']), 'Product id')
->text('user_id', 'Admin')
->datetime_select('add_date', null, ['with_time' => 1])
->datetime_select('add_date__and', null, ['with_time' => 1])
Avoid too many return
statements within this method. Open
Open
return $row['quantity'];