winter/modules/cms/classes/Partial.php
Samuel Georges 24a620e890 Convert CmsObject and CmsCompoundObject to use Halcyon
getFullPath -> getFilePath
2016-03-12 15:32:16 +11:00

25 lines
570 B
PHP

<?php namespace Cms\Classes;
/**
* The CMS partial class.
*
* @package october\cms
* @author Alexey Bobkov, Samuel Georges
*/
class Partial extends CmsCompoundObject
{
/**
* @var string The container name associated with the model, eg: pages.
*/
protected $dirName = 'partials';
/**
* Returns name of a PHP class to us a parent for the PHP class created for the object's PHP section.
* @return string Returns the class name.
*/
public function getCodeClassParent()
{
return '\Cms\Classes\PartialCode';
}
}