No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 
 
 
 
 
Florian Eisenmenger 41ccc32b5d checkin hace 2 años
..
Argument checkin hace 2 años
Collection checkin hace 2 años
Form checkin hace 2 años
Helper checkin hace 2 años
Test/Unit checkin hace 2 años
Tree checkin hace 2 años
Wysiwyg checkin hace 2 años
etc/argument checkin hace 2 años
AbstractCriteria.php checkin hace 2 años
AbstractDataObject.php checkin hace 2 años
AbstractSearchCriteriaBuilder.php checkin hace 2 años
AbstractSearchResult.php checkin hace 2 años
Collection.php checkin hace 2 años
CollectionDataSourceInterface.php checkin hace 2 años
CollectionModifier.php checkin hace 2 años
CollectionModifierInterface.php checkin hace 2 años
DataArray.php checkin hace 2 años
Form.php checkin hace 2 años
FormFactory.php checkin hace 2 años
Graph.php checkin hace 2 años
ObjectFactory.php checkin hace 2 años
OptionSourceInterface.php checkin hace 2 años
README.md checkin hace 2 años
Schema.php checkin hace 2 años
SearchResultInterface.php checkin hace 2 años
SearchResultIterator.php checkin hace 2 años
SearchResultIteratorFactory.php checkin hace 2 años
SearchResultProcessor.php checkin hace 2 años
SearchResultProcessorFactory.php checkin hace 2 años
SearchResultProcessorInterface.php checkin hace 2 años
Structure.php checkin hace 2 años
Tree.php checkin hace 2 años
TreeFactory.php checkin hace 2 años
ValueSourceInterface.php checkin hace 2 años

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.