MediaWiki  1.23.2
ProfilerStub.php
Go to the documentation of this file.
1 <?php
29 class ProfilerStub extends Profiler {
30  public function isStub() {
31  return true;
32  }
33  public function isPersistent() {
34  return false;
35  }
36  public function profileIn( $fn ) {}
37  public function profileOut( $fn ) {}
38  public function getOutput() {}
39  public function close() {}
40  public function logData() {}
41  public function getCurrentSection() { return ''; }
42  public function transactionWritingIn( $server, $db ) {}
43  public function transactionWritingOut( $server, $db ) {}
44  public function getRawData() { return array(); }
45 }
php
skin txt MediaWiki includes four core it has been set as the default in MediaWiki since the replacing Monobook it had been been the default skin since before being replaced by Vector largely rewritten in while keeping its appearance Several legacy skins were removed in the as the burden of supporting them became too heavy to bear Those in etc for skin dependent CSS etc for skin dependent JavaScript These can also be customised on a per user by etc This feature has led to a wide variety of user styles becoming that gallery is a good place to ending in php
Definition: skin.txt:62
ProfilerStub\profileIn
profileIn( $fn)
Called by wfProfieIn()
Definition: ProfilerStub.php:36
ProfilerStub\getCurrentSection
getCurrentSection()
Get the function name of the current profiling section.
Definition: ProfilerStub.php:41
ProfilerStub
Stub profiler that does nothing.
Definition: ProfilerStub.php:29
ProfilerStub\getRawData
getRawData()
Definition: ProfilerStub.php:44
ProfilerStub\transactionWritingIn
transactionWritingIn( $server, $db)
Mark a DB as in a transaction with one or more writes pending.
Definition: ProfilerStub.php:42
ProfilerStub\getOutput
getOutput()
Returns a profiling output to be stored in debug file.
Definition: ProfilerStub.php:38
ProfilerStub\profileOut
profileOut( $fn)
Called by wfProfieOut()
Definition: ProfilerStub.php:37
Profiler
Definition: Profiler.php:97
ProfilerStub\isStub
isStub()
Return whether this a stub profiler.
Definition: ProfilerStub.php:30
array
the array() calling protocol came about after MediaWiki 1.4rc1.
List of Api Query prop modules.
ProfilerStub\close
close()
Close opened profiling sections.
Definition: ProfilerStub.php:39
ProfilerStub\isPersistent
isPersistent()
Return whether this profiler stores data.
Definition: ProfilerStub.php:33
ProfilerStub\logData
logData()
Log the whole profiling data into the database.
Definition: ProfilerStub.php:40
ProfilerStub\transactionWritingOut
transactionWritingOut( $server, $db)
Mark a DB as no longer in a transaction.
Definition: ProfilerStub.php:43