Manual:ApiQueryBase.php/en

Details
ApiQueryBase.php file contains the  class, the basse class for all Query modules. Inherits ApiBase.