| @@ 3064-3071 (lines=8) @@ | ||
| 3061 | * |
|
| 3062 | * @return string |
|
| 3063 | */ |
|
| 3064 | public function singular_name() |
|
| 3065 | { |
|
| 3066 | $base = in_array(static::class, [Page::class, self::class]); |
|
| 3067 | if ($base) { |
|
| 3068 | return $this->stat('base_singular_name'); |
|
| 3069 | } |
|
| 3070 | return parent::singular_name(); |
|
| 3071 | } |
|
| 3072 | ||
| 3073 | /** |
|
| 3074 | * Default plural name for page / sitetree |
|
| @@ 3078-3085 (lines=8) @@ | ||
| 3075 | * |
|
| 3076 | * @return string |
|
| 3077 | */ |
|
| 3078 | public function plural_name() |
|
| 3079 | { |
|
| 3080 | $base = in_array(static::class, [Page::class, self::class]); |
|
| 3081 | if ($base) { |
|
| 3082 | return $this->stat('base_plural_name'); |
|
| 3083 | } |
|
| 3084 | return parent::plural_name(); |
|
| 3085 | } |
|
| 3086 | ||
| 3087 | /** |
|
| 3088 | * Get description for this page type |
|