[pLog-svn] r4933 - plugins/branches/lifetype-1.2/recentcomments
jondaley at devel.lifetype.net
jondaley at devel.lifetype.net
Fri Mar 2 14:02:21 EST 2007
Author: jondaley
Date: 2007-03-02 14:02:21 -0500 (Fri, 02 Mar 2007)
New Revision: 4933
Modified:
plugins/branches/lifetype-1.2/recentcomments/pluginrecentcomments.class.php
Log:
add configuration keys
Modified: plugins/branches/lifetype-1.2/recentcomments/pluginrecentcomments.class.php
===================================================================
--- plugins/branches/lifetype-1.2/recentcomments/pluginrecentcomments.class.php 2007-03-02 19:02:08 UTC (rev 4932)
+++ plugins/branches/lifetype-1.2/recentcomments/pluginrecentcomments.class.php 2007-03-02 19:02:21 UTC (rev 4933)
@@ -120,5 +120,17 @@
$feedUrl = $rg->getIndexUrl().$rg->getRequest();
return $feedUrl;
}
+
+ function getPluginConfigurationKeys(){
+ lt_include(PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php");
+ return (Array(
+ Array("name" => "plugin_recentcomments_enabled",
+ "type" => "boolean"),
+ Array("name" => "plugin_recentcomments_maxcomments",
+ "validator" => new IntegerValidator(),
+ "type" => "integer"),
+ ));
+ }
+
}
?>
\ No newline at end of file
More information about the pLog-svn
mailing list