Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 
 
 
Florian Eisenmenger 41ccc32b5d checkin há 2 anos
..
Argument checkin há 2 anos
Collection checkin há 2 anos
Form checkin há 2 anos
Helper checkin há 2 anos
Test/Unit checkin há 2 anos
Tree checkin há 2 anos
Wysiwyg checkin há 2 anos
etc/argument checkin há 2 anos
AbstractCriteria.php checkin há 2 anos
AbstractDataObject.php checkin há 2 anos
AbstractSearchCriteriaBuilder.php checkin há 2 anos
AbstractSearchResult.php checkin há 2 anos
Collection.php checkin há 2 anos
CollectionDataSourceInterface.php checkin há 2 anos
CollectionModifier.php checkin há 2 anos
CollectionModifierInterface.php checkin há 2 anos
DataArray.php checkin há 2 anos
Form.php checkin há 2 anos
FormFactory.php checkin há 2 anos
Graph.php checkin há 2 anos
ObjectFactory.php checkin há 2 anos
OptionSourceInterface.php checkin há 2 anos
README.md checkin há 2 anos
Schema.php checkin há 2 anos
SearchResultInterface.php checkin há 2 anos
SearchResultIterator.php checkin há 2 anos
SearchResultIteratorFactory.php checkin há 2 anos
SearchResultProcessor.php checkin há 2 anos
SearchResultProcessorFactory.php checkin há 2 anos
SearchResultProcessorInterface.php checkin há 2 anos
Structure.php checkin há 2 anos
Tree.php checkin há 2 anos
TreeFactory.php checkin há 2 anos
ValueSourceInterface.php checkin há 2 anos

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.