Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Public Member Functions
Dimension Class Reference

Public Member Functions

 __construct (string $name, string $value)
 
 getName ()
 
 getValue ()
 

Detailed Description

Index Dimension object

@api

Definition at line 15 of file Dimension.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( string  $name,
string  $value 
)
Parameters
string$name
string$value

Definition at line 31 of file Dimension.php.

32  {
33  $this->name = $name;
34  $this->value = $value;
35  }
$block setTitle( 'CMS Block Title') -> setIdentifier('fixture_block') ->setContent('< h1 >Fixture Block Title</h1 >< a href=" store url</a><p> Config value
Definition: block.php:9

Member Function Documentation

◆ getName()

getName ( )

Get dimension name

Returns
string

Definition at line 42 of file Dimension.php.

42  : string
43  {
44  return $this->name;
45  }

◆ getValue()

getValue ( )

Get dimension value

Returns
string

Definition at line 52 of file Dimension.php.

52  : string
53  {
54  return $this->value;
55  }

The documentation for this class was generated from the following file: