protected function getTypesLibrary()
    {
        $types = array();

        foreach (array_keys($this->library->getTypes()) as $id) {
            $types[$id] = $this->text(ucfirst($id));
        }

        return $types;
    }