Piwik\Plugin\Visualization::getClientSidePropertiesToSet PHP Метод

getClientSidePropertiesToSet() приватный Метод

Returns array of properties that should be visible to client side JavaScript. The data will be available in the data-props HTML attribute of the .dataTable div.
private getClientSidePropertiesToSet ( ) : array
Результат array Maps property names w/ property values.
    private function getClientSidePropertiesToSet()
    {
        $result = array();
        foreach ($this->config->clientSideProperties as $name) {
            if (property_exists($this->requestConfig, $name)) {
                $result[$name] = $this->getIntIfValueIsBool($this->requestConfig->{$name});
            } elseif (property_exists($this->config, $name)) {
                $result[$name] = $this->getIntIfValueIsBool($this->config->{$name});
            }
        }
        return $result;
    }