Tidy up notes

This commit is contained in:
Sam Georges 2014-11-12 07:39:42 +11:00
parent f458fb7704
commit 4d411c343e

View File

@ -115,13 +115,17 @@ class FormTabs implements IteratorAggregate, ArrayAccess
return $tablessFields; return $tablessFields;
} }
/**
* Returns true if any fields have been registered for these tabs
* @return boolean
*/
public function hasFields() public function hasFields()
{ {
return count($this->fields) > 0; return count($this->fields) > 0;
} }
/** /**
* Returns an array of the registered fields. * Returns an array of the registered fields, including tabs.
* @return array * @return array
*/ */
public function getTabs() public function getTabs()