PHP Class org\transform\driver\Base64

Datei anzeigen Open project: top-think/thinkphp-extend Class Usage Examples

Public Properties

Property Type Description
$target

Public Methods

Method Description
decode ( string $data, string $target = '' ) Base64解码函数
encode ( string $data, string $target = '' ) Base64编码函数

Method Details

decode() public method

Base64解码函数
public decode ( string $data, string $target = '' )
$data string 欲解码的数据
$target string 解码目标

encode() public method

Base64编码函数
public encode ( string $data, string $target = '' )
$data string 欲编码的数据
$target string 编码目标

Property Details

$target public_oe static_oe property

public static $target