Overview

Packages

  • Jyxo_Beholder
  • Jyxo_Charset
  • Jyxo_Color
  • Jyxo_Css
  • Jyxo_ErrorHandling
  • Jyxo_FirePhp
  • Jyxo_Gettext
    • Parser
  • Jyxo_Html
  • Jyxo_Input
    • Chain
    • Filter
    • Validator
  • Jyxo_Mail
    • Email
    • Parser
    • Sender
  • Jyxo_Rpc
    • Json
    • Xml
  • Jyxo_Shell
  • Jyxo_SpamFilter
  • Jyxo_Spl
  • Jyxo_String
  • Jyxo_Svn
  • Jyxo_Time
  • Jyxo_Timer
  • Jyxo_Webdav
  • Jyxo_XmlReader
  • PHP

Classes

  • Jyxo_Input_Factory
  • Jyxo_Input_Fluent
  • Jyxo_Input_Upload

Exceptions

  • Jyxo_Input_Exception
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated

Class Jyxo_Input_Upload

Uploaded file.

Category: Jyxo
Package: Jyxo_Input
Copyright: Copyright (c) 2005-2011 Jyxo, s.r.o.
License: https://github.com/jyxo/php/blob/master/license.txt
Author: Jakub Tománek
Located at Input/Upload.php
Methods summary
public
# __construct( string $index )

Constructor.

Constructor.

Parameters

$index
string
File index
public Jyxo_Input_Upload
# confirmUpload( )

Confirms that the file was successfully uploaded.

Confirms that the file was successfully uploaded.

Returns

Jyxo_Input_Upload
public string
# tmpName( )

Returns file's temporary name.

Returns file's temporary name.

Returns

string
public integer
# error( )

Returns upload error type.

Returns upload error type.

Returns

integer
public boolean
# move( string $destination )

Moves the uploaded file.

Moves the uploaded file.

Parameters

$destination
string
File destination

Returns

boolean
public string
# __toString( )

Conversion to string because of other validators.

Conversion to string because of other validators.

Returns

string
public string
# extension( )

Returns file extension.

Returns file extension.

Returns

string
public string
# filename( )

Returns file name.

Returns file name.

Returns

string
Jyxo PHP Library API documentation generated by ApiGen 2.3.0