public function title() { list($ns, $name) = namespaceSplit(get_class($this)); $name = substr($name, 0, strlen('Panel') * -1); return Inflector::humanize(Inflector::underscore($name)); }