mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
Tidy up notes
This commit is contained in:
parent
f458fb7704
commit
4d411c343e
@ -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()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user