Warning: session_start(): open(/var/lib/php/sessions/sess_hkd365uhqhjfu92cm6htpmt4j5, 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
S beaHTMLURL(BEA o) {
ret o == null ?: o.myURI();
}
S beaHTML(O o) {
if (o cast BEA) ret beaHTML(o);
ret htmlEncode2(o);
}
BEA beaGetOpt(long id) {
ret getConceptOpt BEA(id);
}
static Cl beaDeleteType(S type) {
ret deleteConceptsWhereIC BEA(+type);
}
int beaCount(S type) {
ret countConceptsWhereCI BEAObject(+type);
}
// first param can be type
BEA beaNew(O... _) {
_ = prependParamIfOddCount("type", _);
ret cnew BEA(_);
}