silverstripe-cms/code/Model/SiteTreeLink.php
2023-12-15 11:58:32 +13:00

22 lines
437 B
PHP

<?php
namespace SilverStripe\CMS\Model;
use SilverStripe\ORM\DataObject;
/**
* Represents a link between a dataobject parent and a page in a HTML content area
*
* @method SiteTree Linked()
* @method DataObject Parent()
*/
class SiteTreeLink extends DataObject
{
private static $table_name = 'SiteTreeLink';
private static $has_one = [
'Parent' => DataObject::class,
'Linked' => SiteTree::class,
];
}