You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Florian Eisenmenger 41ccc32b5d checkin 2 vuotta sitten
..
Argument checkin 2 vuotta sitten
Collection checkin 2 vuotta sitten
Form checkin 2 vuotta sitten
Helper checkin 2 vuotta sitten
Test/Unit checkin 2 vuotta sitten
Tree checkin 2 vuotta sitten
Wysiwyg checkin 2 vuotta sitten
etc/argument checkin 2 vuotta sitten
AbstractCriteria.php checkin 2 vuotta sitten
AbstractDataObject.php checkin 2 vuotta sitten
AbstractSearchCriteriaBuilder.php checkin 2 vuotta sitten
AbstractSearchResult.php checkin 2 vuotta sitten
Collection.php checkin 2 vuotta sitten
CollectionDataSourceInterface.php checkin 2 vuotta sitten
CollectionModifier.php checkin 2 vuotta sitten
CollectionModifierInterface.php checkin 2 vuotta sitten
DataArray.php checkin 2 vuotta sitten
Form.php checkin 2 vuotta sitten
FormFactory.php checkin 2 vuotta sitten
Graph.php checkin 2 vuotta sitten
ObjectFactory.php checkin 2 vuotta sitten
OptionSourceInterface.php checkin 2 vuotta sitten
README.md checkin 2 vuotta sitten
Schema.php checkin 2 vuotta sitten
SearchResultInterface.php checkin 2 vuotta sitten
SearchResultIterator.php checkin 2 vuotta sitten
SearchResultIteratorFactory.php checkin 2 vuotta sitten
SearchResultProcessor.php checkin 2 vuotta sitten
SearchResultProcessorFactory.php checkin 2 vuotta sitten
SearchResultProcessorInterface.php checkin 2 vuotta sitten
Structure.php checkin 2 vuotta sitten
Tree.php checkin 2 vuotta sitten
TreeFactory.php checkin 2 vuotta sitten
ValueSourceInterface.php checkin 2 vuotta sitten

README.md

Data

Data library provides support to form, data interpreters and some data structures that support database and layout

Form

Forms hold entity data and provide way to render data out. This library provides a list of different type form elements.

Data Interpreters

Data interpreter is responsible for computation of effective value, i.e. evaluation of input data. Each individual interpreter recognizes only one particular type of input data. Magento\Framework\Data\Argument\Interpreter\Composite is used to dynamically choose which of underlying interpreters to delegate evaluation to. Child interpreters can be registered in it via constructor and later on through the adder method of its public interface. Each sub-interpreter is associated with a unique name during adding to the composite. In order to make a decision of which interpreter to use, input data has to carry an extra metadata – data key carrying name of an interpreter to use. Metadata value is intended for the composite interpreter only, thus it’s not passed down to underlying interpreters. Data interpreters are used for handling DI arguments and layout arguments.

Supported Data Structures

Data Collections

Data Collection is traversable, countable, ordered list. Class Magento\Framework\Data\Collection is at the top of the collections hierarchy. Every collection in the system is its descendant, directly or indirectly.

  • Database Data Collections are used to load items from a database. Two fetching strategies are supported in this library:

  • Cache fetching strategy - retrieve data from cache

  • Query fetching strategy - retrieve data from database

  • Filesystem Data Collection is used to scan a folder for files and/or folders.

DataArray

DataArray is data container with array access.

Graph

Graph is a graph data structure with some basic validation of nodes and search features.

Tree

Tree is a tree data structure. It is used to hold database data.

Structure

Structure is a hierarchical data structure of elements. A structure contains elements; elements can be grouped into groups under the structure. It is used in layout.