public function getTabs()
{
if ($this->getData('tabs') === null) {
$tabsCollection = new Tab\Collection();
$tabsCollection->load($this->getId());
$this->setData('tabs', $tabsCollection->getTabs());
}
return $this->getData('tabs');
}
/** * Test * * @return void */ public function testGetTabs() { $this->assertInternalType('array', $this->object->getTabs()); }