Difference between revisions of "Info class"

From Apibot
Jump to: navigation, search
m (Mains -> Core)
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
== Implementation ==
 
== Implementation ==
  
A container class, implemented in <code>core/info.php</code>.
+
A container class, implemented in <code>core/common/info.php</code>.
  
 
Uses the following backend classes:
 
Uses the following backend classes:
  
* <code>API_Info</code> is implemented in <code>backends/api/core/info.php</code>
+
* <code>API_Info</code> is implemented in <code>backends/api/common/info.php</code>
* <code>Web_Info</code> is implemented in <code>backends/web/core/info.php</code>
+
* <code>Web_Info</code> is implemented in <code>backends/web/common/info.php</code>
  
 
Both are descendants of the generic class <code>Backend_Info</code> class, implemented in <code>backends/_generic/info.php</code>.
 
Both are descendants of the generic class <code>Backend_Info</code> class, implemented in <code>backends/_generic/info.php</code>.

Latest revision as of 00:00, 11 November 2014

Implementation

A container class, implemented in core/common/info.php.

Uses the following backend classes:

  • API_Info is implemented in backends/api/common/info.php
  • Web_Info is implemented in backends/web/common/info.php

Both are descendants of the generic class Backend_Info class, implemented in backends/_generic/info.php.

Methods

This class will use as its own any public method implemented in its backend classes.

Hooks

These Info functions can be hooked to through the Hooks Core module:

Function (with hook callback profile) Since Apibot version
load_info ( $hook_object, $type ) v0.40.10