20 lines
307 B
PHP
20 lines
307 B
PHP
|
<?php
|
||
|
/**
|
||
|
* Just returns the strings for the different node statuses.
|
||
|
* This way these string constants are defined in just one place.
|
||
|
*/
|
||
|
class XCATNodeStatus {
|
||
|
function good() {
|
||
|
return "good";
|
||
|
}
|
||
|
|
||
|
function bad() {
|
||
|
return "bad";
|
||
|
}
|
||
|
|
||
|
function other() {
|
||
|
return "other";
|
||
|
}
|
||
|
}
|
||
|
?>
|