BanModel::_BeforeGet PHP Method

_BeforeGet() public method

Add ban data to all Get requests.
Since: 2.0.18
public _BeforeGet ( )
    public function _BeforeGet()
    {
        $this->SQL->select('Ban.*')->select('iu.Name', '', 'InsertName')->join('User iu', 'Ban.InsertUserID = iu.UserID', 'left');
        parent::_BeforeGet();
    }