Habari\QueryRecord::__construct PHP Метод

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

constructor __construct Constructor for the QueryRecord class.
public __construct ( array $paramarray = [] )
$paramarray array an associative array of initial field values.
    public function __construct($paramarray = array())
    {
        $params = Utils::get_params($paramarray);
        if (count($params)) {
            // Defaults
            $this->fields = array_merge($this->fields, $params);
            // mark any passed params as loaded when creating this object
            $this->properties_loaded = array_merge($this->properties_loaded, array_combine(array_keys($params), array_fill(0, count($params), true)));
        }
    }