public abstract function countContentObjectsInSection($id);
/** * Counts the number of content objects assigned to section with $id. * * @param int $id * * @return int */ public function countContentObjectsInSection($id) { try { return $this->innerGateway->countContentObjectsInSection($id); } catch (DBALException $e) { throw new RuntimeException('Database error', 0, $e); } catch (PDOException $e) { throw new RuntimeException('Database error', 0, $e); } }