ListTable
2 days ago
AdminUrl.php
2 days ago
CouponCode.php
2 days ago
Documentation.php
2 days ago
Editor.php
2 days ago
EditorColumns.php
2 days ago
EditorNetwork.php
2 days ago
EditorNetworkColumns.php
2 days ago
External.php
2 days ago
ListTableNetwork.php
2 days ago
PluginSearch.php
2 days ago
Preview.php
2 days ago
Site.php
2 days ago
UtmTags.php
2 days ago
Documentation.php
51 lines
| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | |
| 5 | namespace AC\Type\Url; |
| 6 | |
| 7 | use AC\Type; |
| 8 | |
| 9 | class Documentation extends Type\Uri |
| 10 | { |
| 11 | public const ARTICLE_GETTING_STARTED = '/article/25-basics-how-to-use-admin-columns-pro'; |
| 12 | public const ARTICLE_BULK_EDITING = '/article/67-how-to-use-bulk-editing'; |
| 13 | public const ARTICLE_CONDITIONAL_FORMATTING = '/article/108-how-to-use-conditional-formatting'; |
| 14 | public const ARTICLE_CUSTOM_FIELD = '/article/59-custom-field-columns'; |
| 15 | public const ARTICLE_CUSTOM_FIELD_EDITING = '/article/68-enable-editing-for-custom-field-columns'; |
| 16 | public const ARTICLE_EXPORT = '/article/69-how-to-use-export'; |
| 17 | public const ARTICLE_INLINE_EDITING = '/article/27-how-to-use-inline-editing'; |
| 18 | public const ARTICLE_LOCAL_STORAGE = '/article/58-how-to-setup-local-storage'; |
| 19 | public const ARTICLE_SAVED_FILTERS = '/article/73-how-to-use-saved-filters'; |
| 20 | public const ARTICLE_SHOW_ALL_SORTING_RESULTS = '/article/86-show-all-results-when-sorting'; |
| 21 | public const ARTICLE_SMART_FILTERING = '/article/61-how-to-use-smart-filtering'; |
| 22 | public const ARTICLE_SORTING = '/article/34-how-to-enable-sorting'; |
| 23 | public const ARTICLE_SUBSCRIPTION_QUESTIONS = '/article/96-subscription-or-license-questions'; |
| 24 | public const ARTICLE_UPGRADE_V6_TO_V7 = '/article/117-how-to-upgrade-from-v6-to-v7'; |
| 25 | public const ARTICLE_RELEASE_6 = '/article/109-admin-columns-pro-6-0-changes'; |
| 26 | |
| 27 | public function __construct(?string $path = null, ?string $fragment = null) |
| 28 | { |
| 29 | parent::__construct('https://docs.admincolumns.com'); |
| 30 | |
| 31 | if ($path) { |
| 32 | $this->add_path($path); |
| 33 | } |
| 34 | |
| 35 | if ($fragment) { |
| 36 | $this->add_fragment($fragment); |
| 37 | } |
| 38 | } |
| 39 | |
| 40 | public static function create_with_path(string $path): self |
| 41 | { |
| 42 | return new self($path); |
| 43 | } |
| 44 | |
| 45 | public static function create_local_storage(?string $fragment = null): self |
| 46 | { |
| 47 | return new self(self::ARTICLE_LOCAL_STORAGE, $fragment); |
| 48 | } |
| 49 | |
| 50 | } |
| 51 |