$file->load($data = array())

Safely requires a file if it exists

  • $data (array)
    Optional variables, which will be made available to the file
  • return (mixed)
    Return value from the PHP file

This documentation entry is inherited from the Media class.


Is something missing or incorrect? Edit this page on Github…