MediaWiki  REL1_24
ProfilerStub.php
Go to the documentation of this file.
00001 <?php
00029 class ProfilerStub extends Profiler {
00030     public function isStub() {
00031         return true;
00032     }
00033 
00034     public function isPersistent() {
00035         return false;
00036     }
00037 
00038     public function profileIn( $fn ) {
00039     }
00040 
00041     public function profileOut( $fn ) {
00042     }
00043 
00044     public function getOutput() {
00045     }
00046 
00047     public function close() {
00048     }
00049 
00050     public function logData() {
00051     }
00052 
00053     public function getCurrentSection() {
00054         return '';
00055     }
00056 
00057     public function transactionWritingIn( $server, $db, $id = '' ) {
00058     }
00059 
00060     public function transactionWritingOut( $server, $db, $id = '' ) {
00061     }
00062 
00063     public function getRawData() {
00064         return array();
00065     }
00066 }