silverstripe-cms/code/Model/SiteTreeLink.php

22 lines
437 B
PHP
Raw Normal View History

<?php
namespace SilverStripe\CMS\Model;
use SilverStripe\ORM\DataObject;
/**
* Represents a link between a dataobject parent and a page in a HTML content area
*
2023-12-14 23:58:32 +01:00
* @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,
];
}