diff --git a/src/Extensions/CWPSiteConfigExtension.php b/src/Extensions/CWPSiteConfigExtension.php index 93950e5..dd186c7 100644 --- a/src/Extensions/CWPSiteConfigExtension.php +++ b/src/Extensions/CWPSiteConfigExtension.php @@ -17,6 +17,16 @@ /** * Class CWPCleanupSiteConfigExtension + * @method File AppleTouchIcon114() + * @method File AppleTouchIcon144() + * @method File AppleTouchIcon57() + * @method File AppleTouchIcon72() + * @method File FavIcon() + * @method Image FooterLogo() + * @method Image FooterLogoRetina() + * @method Image FooterLogoSecondary() + * @method Image Logo() + * @method Image LogoRetina() */ class CWPSiteConfigExtension extends DataExtension { diff --git a/src/Extensions/CarouselPageExtension.php b/src/Extensions/CarouselPageExtension.php index a2bd90d..e264233 100644 --- a/src/Extensions/CarouselPageExtension.php +++ b/src/Extensions/CarouselPageExtension.php @@ -17,6 +17,9 @@ use SilverStripe\Forms\GridField\GridFieldVersionedState; use SilverStripe\Forms\LiteralField; +/** + * @method SilverStripe\ORM\HasManyList CarouselItems() + */ class CarouselPageExtension extends DataExtension { private static $db = [ diff --git a/src/Model/CarouselItem.php b/src/Model/CarouselItem.php index 6bda654..6d33374 100644 --- a/src/Model/CarouselItem.php +++ b/src/Model/CarouselItem.php @@ -18,6 +18,12 @@ use SilverStripe\ORM\DataObject; use SilverStripe\Forms\FileHandleField; +/** + * @method Image Image() + * @method BaseHomePage Parent() + * @method SiteTree PrimaryCallToAction() + * @method SiteTree SecondaryCallToAction() + */ class CarouselItem extends DataObject { private static $table_name = 'CarouselItem';