load() публичный Метод

Load formats from a xml file.
public load ( mixed $resource, string $type = null ) : array
$resource mixed The resource
$type string The resource type
Результат array The formats array for the given resource
Пример #1
0
 /**
  * {@inheritdoc}
  */
 public function load($resource, $type = null)
 {
     @trigger_error('XmlFormatLoader10 is deprecated since version 1.4 and will be removed in 2.0. Use XmlFormatLoader11 instead.', E_USER_DEPRECATED);
     return parent::load($resource, $type);
 }