Warning: session_start(): open(/var/lib/php/sessions/sess_30bvfe2lhp1878r3ldsfutuj5u, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51
Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
static Concept getConcept(long id) {
ret db_mainConcepts().getConcept(id);
}
static Concept getConcept(Concepts concepts, long id) {
ret concepts.getConcept(id);
}
}static A getConcept(Class cc, long id) {
ret getConcept(db_mainConcepts(), cc, id);
}
static A getConcept(Concepts concepts, Class cc, long id) {
Concept c = concepts.getConcept(id);
if (c == null) null;
if (!isInstance(cc, c))
fail("Can't convert concept: " + getClassName(c) + " -> " + getClassName(cc) + " (" + id + ")");
ret (A) c;
}