public function buildPostData($data)
    {
        $this->data = $data;

        $query = parent::buildPostData($data);

        foreach ($data as $key => $value) {
            if (is_array($value)) $query = preg_replace('/&' . $key . '%5B%5D=/simU', '&' . $key . '=', $query);
        }

        $this->query = $query;

        return $query;
    }
public function buildPostData($data)
    {
        $this->data = $data;

        $query = parent::buildPostData($data);

        foreach ($data as $key => $value) {
            if (is_array($value)) $query = preg_replace('/&' . $key . '%5B%5D=/simU', '&' . $key . '=', $query);
        }

        $this->query = $query;

        return $query;
    }
public function buildPostData ( $ data ) { $ this -> data = $ data ; $ query = parent :: buildPostData ( $ data ) ; foreach ( $ data as $ key => $ value ) { if ( is_array ( $ value ) ) $ query = preg_replace ( '/&' . $ key . '%5B%5D=/simU' , '&' . $ key . '=' , $ query ) ; } $ this -> query = $ query ; return $ query ; }
Build Post Data

@access public
@param  $data

@return array|string
Build Post Data