Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Tab.php
Go to the documentation of this file.
1 <?php
7 
9 
13 class Tab extends AbstractComponent implements TabInterface
14 {
15  const NAME = 'tab';
16 
22  public function getComponentName()
23  {
24  return static::NAME;
25  }
26 
32  public function getTabLabel()
33  {
34  return $this->getData('tab_label');
35  }
36 
42  public function getTabTitle()
43  {
44  return $this->getData('tab_title');
45  }
46 
52  public function getTabClass()
53  {
54  return $this->getData('tab_class');
55  }
56 
62  public function getTabUrl()
63  {
64  return $this->getData('tab_url');
65  }
66 
72  public function isAjaxLoaded()
73  {
74  return $this->getData('is_ajax_loaded');
75  }
76 
82  public function canShowTab()
83  {
84  return $this->getData('can_show_tab');
85  }
86 
92  public function isHidden()
93  {
94  return $this->getData('is_hidden');
95  }
96 }