CyberDuck\BlockPage\Controller\ContentBlockController
Synopsis
class ContentBlockController
extends Controller
{
- // members
- protected ContentBlock $content_block;
- // methods
- public void __construct()
- public ContentBlock getContentBlock()
- public string getFormActionLink()
- public string Link()
Hierarchy
Extends
- SilverStripe\Control\Controller
Members
protected
- $content_block — CyberDuck\BlockPage\Model\ContentBlock
Methods
public
- __construct() — Constructor
- Link() — Get Link with Content Block Anchor Usable for forms redirections to Content Block on page
- getContentBlock() — Get current content block
- getFormActionLink() — Get link string prepared for form action