Overview

Namespaces

  • Jyxo
    • Beholder
      • TestCase
    • Gettext
      • Parser
    • Input
      • Chain
      • Filter
      • Validator
    • Mail
      • Email
        • Attachment
      • Parser
      • Sender
    • Rpc
      • Json
      • Xml
    • Shell
    • Spl
    • Svn
    • Time
    • Webdav
  • PHP

Classes

  • Chain
  • Factory
  • Filter
  • Fluent
  • Upload
  • Validator

Interfaces

  • FilterInterface
  • ValidatorInterface

Exceptions

  • Exception
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated

Class Upload

Uploaded file.

Namespace: Jyxo\Input
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