public function setValue($v2063c1608d6e0baf80249c42e2be5804) { if (is_array($v2063c1608d6e0baf80249c42e2be5804)) { $v2063c1608d6e0baf80249c42e2be5804 = array_distinct($v2063c1608d6e0baf80249c42e2be5804); } parent::setValue($v2063c1608d6e0baf80249c42e2be5804); }
function check() { $receive = $this->MReceive_items->get_stock(); $sale = $this->MSales_details->get_stock(); $result = array_merge($receive, $sale); $sortarr = array_distinct($result, 'edate'); print_r($sortarr); //print_r($result); }