SilverStripe\CMS\Tests\Controllers\SilverStripeNavigatorTest_ProtectedTestItem
Synopsis
class SilverStripeNavigatorTest_ProtectedTestItem
extends SilverStripeNavigatorItem
implements
TestOnly
{
- // Inherited members from SilverStripeNavigatorItem
- protected $record;
- protected $recordLink;
- // Inherited methods from SilverStripeNavigatorItem
- public void __construct()
- public abstract string getHTML()
- public abstract string getTitle()
- public string getName()
- public string getLink()
- public string getMessage()
- public DataObject getRecord()
- public int getPriority()
- public boolean isActive()
- public Boolean canView()
- public boolean isArchived()
Hierarchy
Members
protected
- $record
- $recordLink — string
Methods
public
Inherited from SilverStripe\CMS\Controllers\SilverStripeNavigatorItem
public
- canView() — Filters items based on member permissions or other criteria, such as if a state is generally available for the current record.
- getHTML()
- getLink() — Optional link to a specific view of this record.
- getMessage()
- getName() — Machine-friendly name.
- getPriority()
- getRecord()
- getTitle()
- isActive() — As items might convey different record states like a "stage" or "live" table, an item can be active (showing the record in this state).
- isArchived() — Counts as "archived" if the current record is a different version from both live and draft.