General

NP_callback

2007年6月11日

commentform-notloggedin.template などで用いられている変数、<%callback%>を、スキンでも用いることが出来るようにするプラグイン。

<?php 
class NP_callback extends NucleusPlugin { 
    function getName() { return 'NP_callback'; }
    function getMinNucleusVersion() { return 220; }
    function getAuthor()  { return 'Katsumi'; }
    function getVersion() { return '0.1'; }
    function getDescription() { return $this->getName().' plugin'; } 
    function supportsFeature($what) { return ($what=='SqlTablePrefix')?1:0; }
    function doSkinVar($skinType,$eventName,$type) {
        global $manager;
        $manager->notify($eventName, array('type' => $type));
    }
}
?>

コメント

コメントはありません

コメント送信