I created Controller that exptends Craft AssetsController
. Hovewer some of AssetsController
methods are private - and I cannot use them using $this
context in child module, so i just copied them to child module.
Is there any other way?
Craft CMS Stack Exchange is a question and answer site for administrators, end users, developers and designers for Craft CMS. It only takes a minute to sign up.
Sign up to join this communityI created Controller that exptends Craft AssetsController
. Hovewer some of AssetsController
methods are private - and I cannot use them using $this
context in child module, so i just copied them to child module.
Is there any other way?
_requirePeerPermissionByAsset
which are private inAssetsController
. – piotrpog Feb 21 '20 at 7:03