khanat-opennel-code/code/web/app/app_achievements_admin/class/CSRAchievement_class.php
SirCotare 7d976a22ad #1470 admin tool workprint; menu admin almost complete; wip!!
--HG--
branch : gsoc2012-achievements
2012-06-25 15:04:51 +02:00

20 lines
No EOL
354 B
PHP

<?php
class CSRAchievement extends AchAchievement implements CSR {
function CSRAchievement(&$data) {
parent::__construct($data);
}
function grant($pid) {
foreach($this->nodes as $elem) {
$elem->grant($pid);
}
}
function deny($pid) {
foreach($this->nodes as $elem) {
$elem->deny($pid);
}
}
}
?>