static function ensure_exists($p_id) { if (!SourceRepo::exists($p_id)) { trigger_error(ERROR_GENERIC, ERROR); } }