silverstripe-docsviewer/code/models/DocumentationFolder.php

19 lines
362 B
PHP
Raw Normal View History

<?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);
}
}