Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Schema.php
Go to the documentation of this file.
1 <?php
6 namespace Magento\Framework\Data;
7 
9 {
14  public function load($schema)
15  {
16  if (is_array($schema)) {
17  $this->setData($schema);
18  } elseif (is_string($schema)) {
19  if (is_file($schema)) {
20  include $schema;
21  $this->setData($schema);
22  }
23  }
24  }
25 
30  public function extract($rawData)
31  {
32  $elements = $rawData;
33  return new DataArray($elements);
34  }
35 }
elseif(isset( $params[ 'redirect_parent']))
Definition: iframe.phtml:17
setData($key, $value=null)
Definition: DataObject.php:72