Navigation: Development > Function Reference > Helpers > Validation >
Check file extension of a file in '.pdf'
App::Utility()->InPdf(Value)
Parameter
Description
Value
Value to check
See bellow example:
$return = App::Helper('Validation')->isPdf('abc.pdf');