Skip to the content
Documentation

ezmatrix

No ratings yet
Summary

Contains information about a matrix.

Persistent

No.

Attributes
Attribute Type Description
name boolean Always FALSE (this attribute is currently not used).
rows array

A collection of miscellaneous structures that contain information about the rows. Currently there is only one structure, called "sequential". It is built up of an array of hashes. The following table reveals the structure of the array elements.

Name Type Description
identifier string The identifier of the column (defined at the class level).
name string The name of the column (defined at the class level).
columns array An array of strings holding the actual contents of the columns.
columns array

A collection of miscellaneous structures that contain information about the rows. Currently there are two types of structures: "sequential" and "id". The "sequential" structure is built up of an array hashes. The following table reveals the structure of the array elements.

Name Type Description
identifier string The identifier of the column (defined at the class level).
index string The row index ("0", "1", and so on).
name string The name of the column (defined at the class level).
rows array An array of strings holding the actual contents of the rows.

The "id" structure consists of hash where the keys are the column identifiers. The following table shows the structure that is available for each column identifier.

Name Type Description
identifier string The identifier of the column (defined at the class level).
index string The column index ("0", "1", and so on).
name string The name of the column (defined at the class level).
rows array An array of strings holding the actual contents of the rows.
cells array A flat array of the cells that make up the matrix (from left to right, top to bottom).
matrix array Consists of "rows", "columns" and "cells" (see above).
rowCount integer The number of rows.
columnCount integer The number of columns.

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.