isDoc

Navigation:  Development > Function Reference > Helpers > Validation >

isDoc

Previous pageReturn to chapter overviewNext page

Check file extension of a file in '.doc', '.docx', '.txt', '.docm', '.docm', '.rtf'

 

App::Utility()->InDoc(Value)

 

Parameter

Description

Value

Value to check

 

 

See bellow example: 

 
$return = App::Helper('Validation')->isDoc('abc.txt');