Jump to content

Get pdf title


Manol
 Share

Recommended Posts

Hello.

 I'm trying to get the title of a pdf file from a FieldtypeFile within a module, with print_r I can see basename, description.. but don't know how to get the value, any hint? 

			
$file = array();
$file = $pagina->get($field->name)->getArray();
foreach ($pagina->get($field->name) as $key => $value) {
	echo $key. " -> ". $value . "\n";
}

Thank you.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...