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