2014-05-14 23:24:20 +10:00
|
|
|
<?php namespace Cms\Classes;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The CMS partial class.
|
|
|
|
*
|
2021-03-10 15:02:53 -06:00
|
|
|
* @package winter\wn-cms-module
|
2014-05-14 23:24:20 +10:00
|
|
|
* @author Alexey Bobkov, Samuel Georges
|
|
|
|
*/
|
|
|
|
class Partial extends CmsCompoundObject
|
|
|
|
{
|
|
|
|
/**
|
2016-03-12 15:32:16 +11:00
|
|
|
* @var string The container name associated with the model, eg: pages.
|
2014-05-14 23:24:20 +10:00
|
|
|
*/
|
2016-03-12 15:32:16 +11:00
|
|
|
protected $dirName = 'partials';
|
2014-10-29 22:12:42 -07:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Returns name of a PHP class to us a parent for the PHP class created for the object's PHP section.
|
2015-10-16 16:30:26 +02:00
|
|
|
* @return string Returns the class name.
|
2014-10-29 22:12:42 -07:00
|
|
|
*/
|
|
|
|
public function getCodeClassParent()
|
|
|
|
{
|
2018-01-12 09:23:20 +03:00
|
|
|
return PartialCode::class;
|
2014-10-29 22:12:42 -07:00
|
|
|
}
|
2014-05-14 23:24:20 +10:00
|
|
|
}
|