ZenphotoCMS Forum
accessing functions from class-image (getFileName) - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: accessing functions from class-image (getFileName) (/thread-2331.html)



accessing functions from class-image (getFileName) - zanderography - 2008-03-04

How can I access the functions found in the ZenPhoto classes (like class-image.php). I need to access the filename of a particular photo (getFileName();) but I get this error when I try to use it: [b]Fatal error:[/b] Call to undefined function: getfilename(). Thanks!




accessing functions from class-image (getFileName) - acrylian - 2008-03-04

Use$_zp_current_image->getFilename().