---
title: "Function to get content of a page (to be used in userFunc)"
url: "https://www.typo3.net/d/106766-function-to-get-content-of-a-page-to-be-used-in-userfunc"
source: "typo3.net"
tags: ["Allgemein","English","Frage","Inhaltselemente","PHP"]
created: "2011-08-10"
last_reply: "2011-08-10"
replies: 0
solved: false
page: 1
pages: 1
lang: "en"
---

# Function to get content of a page (to be used in userFunc)

Allgemein · 0 Antworten · gestartet 2011-08-10

## Eröffnungsbeitrag

**denba** · 2011-08-10 · [Beitrag #1](https://www.typo3.net/d/106766-function-to-get-content-of-a-page-to-be-used-in-userfunc/1)

Hi,
I need to implement a userFunc which must "merge" contents (column  normal only) comming from a several pages (for a single language website) and display the whole "virtual" content into a webpage.

PageIDs are selected in a webform and my userFunc is getting these Pids, this point is ok.

Question: does exist a function able to return the content of a page providing the pid as parameter? Or should I write something more complex searching in the different table for content(s) belonging to a page id?

I already checked getPage($pid) but it returns "only" the page property and not the content.

I think the best way is to do that with a PHP userFunc, but of course if it possible/easier with TS, I would switch to TS ;-)
Thank you in advance for your help and suggestion.
JZ

---

Quelle: „Function to get content of a page (to be used in userFunc)“, typo3.net, https://www.typo3.net/d/106766-function-to-get-content-of-a-page-to-be-used-in-userfunc
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
