88use Magento \Backend \Block \Widget \Tab \TabInterface ;
99
1010/**
11+ * Tabs widget
12+ *
1113 * @api
1214 * @SuppressWarnings(PHPMD.NumberOfChildren)
1315 * @since 100.0.2
@@ -178,6 +180,8 @@ protected function _addTabByName($tab, $tabId)
178180 }
179181
180182 /**
183+ * Get active tab id
184+ *
181185 * @return string
182186 */
183187 public function getActiveTabId ()
@@ -187,6 +191,7 @@ public function getActiveTabId()
187191
188192 /**
189193 * Set Active Tab
194+ *
190195 * Tab has to be not hidden and can show
191196 *
192197 * @param string $tabId
@@ -231,7 +236,7 @@ protected function _setActiveTab($tabId)
231236 }
232237
233238 /**
234- * { @inheritdoc}
239+ * @inheritdoc
235240 */
236241 protected function _beforeToHtml ()
237242 {
@@ -282,6 +287,8 @@ private function reorderTabs()
282287 }
283288
284289 /**
290+ * Apply tabs order
291+ *
285292 * @param array $orderByPosition
286293 * @param array $orderByIdentity
287294 *
@@ -294,7 +301,7 @@ private function applyTabsCorrectOrder(array $orderByPosition, array $orderByIde
294301 /**
295302 * Rearrange the positions by using the after tag for each tab.
296303 *
297- * @var integer $position
304+ * @var int $position
298305 * @var TabInterface $tab
299306 */
300307 foreach ($ orderByPosition as $ position => $ tab ) {
@@ -338,6 +345,8 @@ private function finalTabsSortOrder(array $orderByPosition)
338345 }
339346
340347 /**
348+ * Get js object name
349+ *
341350 * @return string
342351 */
343352 public function getJsObjectName ()
@@ -346,6 +355,8 @@ public function getJsObjectName()
346355 }
347356
348357 /**
358+ * Get tabs ids
359+ *
349360 * @return string[]
350361 */
351362 public function getTabsIds ()
@@ -358,6 +369,8 @@ public function getTabsIds()
358369 }
359370
360371 /**
372+ * Get tab id
373+ *
361374 * @param \Magento\Framework\DataObject|TabInterface $tab
362375 * @param bool $withPrefix
363376 * @return string
@@ -371,6 +384,8 @@ public function getTabId($tab, $withPrefix = true)
371384 }
372385
373386 /**
387+ * CVan show tab
388+ *
374389 * @param \Magento\Framework\DataObject|TabInterface $tab
375390 * @return bool
376391 */
@@ -383,6 +398,8 @@ public function canShowTab($tab)
383398 }
384399
385400 /**
401+ * Get tab is hidden
402+ *
386403 * @param \Magento\Framework\DataObject|TabInterface $tab
387404 * @return bool
388405 * @SuppressWarnings(PHPMD.BooleanGetMethodName)
@@ -396,6 +413,8 @@ public function getTabIsHidden($tab)
396413 }
397414
398415 /**
416+ * Get tab url
417+ *
399418 * @param \Magento\Framework\DataObject|TabInterface $tab
400419 * @return string
401420 */
@@ -414,6 +433,8 @@ public function getTabUrl($tab)
414433 }
415434
416435 /**
436+ * Get tab title
437+ *
417438 * @param \Magento\Framework\DataObject|TabInterface $tab
418439 * @return string
419440 */
@@ -426,6 +447,8 @@ public function getTabTitle($tab)
426447 }
427448
428449 /**
450+ * Get tab class
451+ *
429452 * @param \Magento\Framework\DataObject|TabInterface $tab
430453 * @return string
431454 */
@@ -441,6 +464,8 @@ public function getTabClass($tab)
441464 }
442465
443466 /**
467+ * Get tab label
468+ *
444469 * @param \Magento\Framework\DataObject|TabInterface $tab
445470 * @return string
446471 */
@@ -453,6 +478,8 @@ public function getTabLabel($tab)
453478 }
454479
455480 /**
481+ * Get tab content
482+ *
456483 * @param \Magento\Framework\DataObject|TabInterface $tab
457484 * @return string
458485 */
@@ -468,7 +495,8 @@ public function getTabContent($tab)
468495 }
469496
470497 /**
471- * Mark tabs as dependant of each other
498+ * Mark tabs as dependent of each other
499+ *
472500 * Arbitrary number of tabs can be specified, but at least two
473501 *
474502 * @param string $tabOneId
0 commit comments