CODE (htmlphp):
скопировать код в буфер обмена
скопировать код в буфер обмена
- public function get_all()
- {
- $res = DB::select('id', 'price_discount','district_key')
- ->from('object')
- ->order_by('id', 'DESC')
- ->where('status', '=', 1)
- ->as_array();
- $res = $this->addDistrictPricesByIDItems($res);
- return null;
- }