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
8 
10 
16 {
22  public function getTabLabel()
23  {
24  return $this->getLabel();
25  }
26 
32  public function getTabTitle()
33  {
34  return $this->getTitle();
35  }
36 
42  public function canShowTab()
43  {
44  return $this->hasCanShow() ? (bool)$this->getCanShow() : true;
45  }
46 
52  public function isHidden()
53  {
54  return $this->hasIsHidden() ? (bool)$this->getIsHidden() : false;
55  }
56 
60  public function getTabClass()
61  {
62  return $this->getClass();
63  }
64 
68  public function getTabUrl()
69  {
70  return $this->hasData('url') ? $this->getData('url') : '#';
71  }
72 }
getData($key='', $index=null)
Definition: DataObject.php:119