CrudKit\Pages\BasicDataPage::handle_get_colSpec PHP Метод

handle_get_colSpec() публичный Метод

Get the column specification and send to the client
public handle_get_colSpec ( ) : array
Результат array
    public function handle_get_colSpec()
    {
        $url = new UrlHelper();
        $filters = $url->get("filters_json", "[]");
        $params = array('filters_json' => $filters);
        return array('type' => 'json', 'data' => array('count' => $this->dataProvider->getRowCount($params), 'schema' => $this->dataProvider->getSchema(), 'columns' => $this->dataProvider->getSummaryColumns()));
    }