Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 895 Bytes

object-children.md

File metadata and controls

29 lines (22 loc) · 895 Bytes

Command: object:children

List all child classes of a given class, e.g. "Page", including the module that the child belongs to.

Usage

$ ssconsole object:children <object>

Options

Type Name Required Description Options Default
Argument object Yes The object class name to look up string none

Example

$ ssconsole object:children Page
Child classes for Page:
+---------------------------------------+------------------+
| Class name                            | Module           |
+---------------------------------------+------------------+
| SilverStripe\CMS\Model\ErrorPage      | silverstripe/cms |
| SilverStripe\CMS\Model\RedirectorPage | silverstripe/cms |
| SilverStripe\CMS\Model\VirtualPage    | silverstripe/cms |
+---------------------------------------+------------------+