GridFieldSubsiteDetailForm
class GridFieldSubsiteDetailForm extends GridFieldDetailForm (View source)
Properties
| protected | string | $template | from GridFieldDetailForm | |
| protected | string | $name | from GridFieldDetailForm | |
| protected | Validator | $validator | from GridFieldDetailForm | |
| protected | FieldList | $fields | from GridFieldDetailForm | |
| protected | $itemRequestClass | |||
| protected | function | $itemEditFormCallback | from GridFieldDetailForm | 
Methods
Return URLs to be handled by this grid field, in an array the same form as $url_handlers.
Create a popup component. The two arguments will specify how the popup form's HTML and behaviour is created. The given controller will be customised, putting the edit form into the template with the given name.
Details
        
                            
    getURLHandlers($gridField)
        
    
    Return URLs to be handled by this grid field, in an array the same form as $url_handlers.
Handler methods will be called on the component, rather than the GridField.
        
                            
    __construct(string $name = 'DetailForm')
        
    
    Create a popup component. The two arguments will specify how the popup form's HTML and behaviour is created. The given controller will be customised, putting the edit form into the template with the given name.
The arguments are experimental API's to support partial content to be passed back to whatever controller who wants to display the getCMSFields
        
                            GridFieldDetailForm_ItemRequest
    handleItem(GridField $gridField, SS_HTTPRequest $request)
        
    
    No description
        
                            
    setTemplate($template)
        
    
    No description
        
                            string
    getTemplate()
        
    
    No description
        
                            
    setName($name)
        
    
    No description
        
                            string
    getName()
        
    
    No description
        
                            
    setValidator(Validator $validator)
        
    
    No description
        
                            Validator
    getValidator()
        
    
    No description
        
                            
    setFields(FieldList $fields)
        
    
    No description
        
                            FieldList
    getFields()
        
    
    No description
        
                            
    setItemRequestClass($class)
        
    
    No description
        
                            string
    getItemRequestClass()
        
    
    No description
        
                            
    setItemEditFormCallback(Closure $cb)
        
    
    No description
        
                            Closure
    getItemEditFormCallback()
        
    
    No description