PHP Class AdminPageFramework_WPUtility_File

Inheritance: extends AdminPageFramework_WPUtility_Hook
显示文件 Open project: michaeluno/admin-page-framework

Public Methods

Method Description
download ( $sURL, $iTimeOut = 300 )
getBaseNameOfURL ( $sURL )
getScriptData ( $sPathOrContent, $sType = 'plugin', $aDefaultHeaderKeys = [] )
getScriptDataFromContents ( $sContent, $sType = 'plugin', $aDefaultHeaderKeys = [] )
setTempPath ( $sFilePath = '' )

Method Details

download() public static method

public static download ( $sURL, $iTimeOut = 300 )

getBaseNameOfURL() public static method

public static getBaseNameOfURL ( $sURL )

getScriptData() public static method

public static getScriptData ( $sPathOrContent, $sType = 'plugin', $aDefaultHeaderKeys = [] )

getScriptDataFromContents() public static method

public static getScriptDataFromContents ( $sContent, $sType = 'plugin', $aDefaultHeaderKeys = [] )

setTempPath() public static method

public static setTempPath ( $sFilePath = '' )