/** * Counts all associated QcodoInterfaces * @return int */ public function CountQcodoInterfaces() { if (is_null($this->intId)) { return 0; } return QcodoInterface::CountByClassGroupId($this->intId); }