silverstripe-docsviewer/code/models/DocumentationFolder.php

19 lines
362 B
PHP

<?php
/**
* A specific documentation folder within a {@link DocumentationEntity}.
*
* Maps to a folder on the file system.
*
* @package docsviewer
* @subpackage model
*/
class DocumentationFolder extends DocumentationPage {
/**
* @return string
*/
public function getTitle() {
return DocumentationHelper::clean_page_name($this->filename);
}
}