This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
    autumn
    
            
            
                    
                                            
        
    
        <?php namespace My\Namespace\Classes;
use Backend\Behaviors\RelationController;
class OfferRelationController extends RelationController {}
Just doing that and then implementing that behaviour in a Controller, leads to an exception on line 279 of RelationController.php, telling me that $this->model is not defined. Why is that? How can I properly extend the RelationController?
Last updated
    philipptempel
    
            
            
                    
                                            
        
    
        You need to public $implement the RelationController not extend it as you would do in standard PHP. See the docs for more info.
1-2 of 2