存储服务
[ 查看开发文档 ] [ 类树图: Storage ] [ 索引: Storage ] [ 所有元素 ] [ 首页 ]

Class: Sae

源文件路径: /Service/Storage/Drivers/Sae.class.php

Class Overview

Storage
   |
   --Sae

SAE环境文件写入存储类


Methods


Inherited Variables

Inherited Methods


Class Details

[line 12]
SAE环境文件写入存储类


[ Top ]


Method Detail

__construct (Constructor)   [line 22]

Sae __construct( )

  • Access: public

[ Top ]

append   [line 103]

boolean append( string $filename, string $content, [ $type = ''])

文件追加写入
  • Access: public

Parameters:

string   $filename   —  文件名
string   $content   —  追加的文件内容
   $type   — 

[ Top ]

get   [line 166]

boolean get( string $filename, string $name, [ $type = ''])

读取文件信息
  • Access: public

Parameters:

string   $filename   —  文件名
string   $name   —  信息名 mtime或者content
   $type   — 

[ Top ]

has   [line 129]

boolean has( string $filename, [ $type = ''])

文件是否存在
  • Access: public

Parameters:

string   $filename   —  文件名
   $type   — 

[ Top ]

load   [line 117]

void load( string $_filename, [array $vars = null])

加载文件
  • Access: public

Parameters:

string   $_filename   —  文件名
array   $vars   —  传入变量

[ Top ]

put   [line 74]

boolean put( string $filename, string $content, [ $type = ''])

文件写入
  • Access: public

Parameters:

string   $filename   —  文件名
string   $content   —  文件内容
   $type   — 

[ Top ]

read   [line 54]

string read( string $filename, [ $type = ''])

文件内容读取
  • Access: public

Parameters:

string   $filename   —  文件名
   $type   — 

[ Top ]

unlink   [line 143]

boolean unlink( string $filename, [ $type = ''])

文件删除
  • Access: public

Parameters:

string   $filename   —  文件名
   $type   — 

[ Top ]


Powered by Steeze. author email: spring.wind2006@163.com