phpDocumentor upload
[ class tree: upload ] [ index: upload ] [ all elements ]

Class: WindFtpUpload

Source Location: /upload/WindFtpUpload.php

Class WindFtpUpload

Class Overview

ftp远程文件上传

Located in /upload/WindFtpUpload.php [line 12]

AbstractWindUpload
   |
   --WindFtpUpload
Author(s): Information Tags:
Version:  $Id: WindFtpUpload.php 2973 2011-10-15 19:22:48Z yishuo $
Copyright:  ©2003-2103 phpwind.com
License:  http://www.windframework.com

Methods

[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From AbstractWindUpload

AbstractWindUpload::$allowType
AbstractWindUpload::$errorInfo
AbstractWindUpload::$hasError

Inherited From AbstractWindUpload

AbstractWindUpload::checkAllowSize()
检查上传文件的大小
AbstractWindUpload::checkAllowType()
检查文件是否允许上传
AbstractWindUpload::doUp()
执行上传操作
AbstractWindUpload::getErrorInfo()
返回错误信息
AbstractWindUpload::getFileName()
获得文件名字
AbstractWindUpload::getSavePath()
获得保存路径
AbstractWindUpload::hasError()
返回是否含有错误
AbstractWindUpload::initUploadInfo()
初始化上传的文件信息
AbstractWindUpload::isImage()
判断是否使图片,如果使图片则返回
AbstractWindUpload::isUploadFile()
判断是否有上传文件
AbstractWindUpload::postUpload()
执行上传操作
AbstractWindUpload::setAllowType()
设置允许上传的类型
AbstractWindUpload::upload()
上传文件

[ Top ]
Method Summary
WindFtpUpload   __construct()   构造函数设置远程ftp链接信息
void   postUpload()  
bool   setConfig()   设置ftp链接配置文件

[ Top ]
Methods
Constructor __construct  [line 23]

  WindFtpUpload __construct( array $config  )

构造函数设置远程ftp链接信息

Parameters:
array   $config: 

API Tags:
Access:  public


[ Top ]
postUpload  [line 30]

  void postUpload( $tmp_name, $filename  )

Parameters:
   $tmp_name: 
   $filename: 

API Tags:
Access:  protected


Redefinition of:
AbstractWindUpload::postUpload()
执行上传操作

[ Top ]
setConfig  [line 43]

  bool setConfig( array $config  )

设置ftp链接配置文件

Parameters:
array   $config:  ftp链接信息

API Tags:
Access:  public


[ Top ]

Documentation generated on Fri, 30 Mar 2012 11:43:33 +0800 by phpDocumentor 1.4.4