21 lines
449 B
PHP
21 lines
449 B
PHP
|
|
<?php namespace Cms\Classes;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* The CMS partial class.
|
||
|
|
*
|
||
|
|
* @package october\cms
|
||
|
|
* @author Alexey Bobkov, Samuel Georges
|
||
|
|
*/
|
||
|
|
class Partial extends CmsCompoundObject
|
||
|
|
{
|
||
|
|
/**
|
||
|
|
* Returns the directory name corresponding to the object type.
|
||
|
|
* For pages the directory name is "pages", for layouts - "layouts", etc.
|
||
|
|
* @return string
|
||
|
|
*/
|
||
|
|
public static function getObjectTypeDirName()
|
||
|
|
{
|
||
|
|
return 'partials';
|
||
|
|
}
|
||
|
|
}
|