コード例 #1
0
function smwfDoSpecialProperties()
{
    wfProfileIn('smwfDoSpecialProperties (SMW)');
    list($limit, $offset) = wfCheckLimits();
    $rep = new SMWPropertiesPage();
    $result = $rep->doQuery($offset, $limit);
    wfProfileOut('smwfDoSpecialProperties (SMW)');
    return $result;
}
コード例 #2
0
 public function execute($param)
 {
     wfProfileIn('smwfDoSpecialProperties (SMW)');
     global $wgOut;
     $wgOut->setPageTitle(wfMessage('properties')->text());
     $rep = new SMWPropertiesPage();
     list($limit, $offset) = wfCheckLimits();
     $rep->doQuery($offset, $limit);
     // Ensure locally collected output data is pushed to the output!
     SMWOutputs::commitToOutputPage($wgOut);
     wfProfileOut('smwfDoSpecialProperties (SMW)');
 }