/** * Creates a ext js container which can be used as tab panel element or * as normal container. * * @param $name * @param $title * @param array $options * @return Form\Container\Tab */ protected function createTab($name, $title, array $options = array()) { $element = new Form\Container\Tab($name, $title); $element->fromArray($options); return $element; }