mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-19 05:36:13 +00:00
7d976a22ad
--HG-- branch : gsoc2012-achievements
20 lines
No EOL
354 B
PHP
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);
|
|
}
|
|
}
|
|
}
|
|
?>
|