Files


$file Methods

  • $file->rename($name)

    Rename this file to the given name (no path). Returns true on success, false on failure.

  • $file->getNext()

    Returns the next file in a multi-file field, or NULL if at the end

  • $file->getPrev()

    Returns the previous file in a multi-file field, or NULL if at the beginning