Usage

type_info(type[, view])

Description

If called with a view, all properties of that view are returned as a list. The items of the list are in the same format as property_info() returns. This is identical to the result one would get from /structr/rest/_schema/<type>/<view>.

If called without a view, the complete type information is returned as an object. This is identical to the result one would get from /structr/rest/_schema/<type>.

Graph-Browser

About this article
Last change 2018-05-04
Topics Structr 2.1