Get Pages by a Pagetype

How can I get the active pages that use the same pagetype?
$pageType = CollectionType::getByHandle('page_type');
foreach($pages as $page){

When I use the code above, I get multiple pages.
What I want to do is that I want to get the content of a block, which is on several pages that are all have the same pagetype.
And I want to collect this content from another page of a different pagetype.

Does anyone know how to do this?

View Replies:
rainmaker replied on at Permalink Reply

You're probably gonna have to use the Page list object:

There's a filterByCollectionTypeID method.