Manual:ApiQueryBase.php

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