Class Resource
Helper class to determine types of resources.
- Core\Object implements Core\Chainable
- Core\Set implements Core\Accessor
- Core\Resource
Package: Core
Since: 3.0
Requires: PHP 5.3
Version: 1.0
Deprecated: This class is deprecated in favor of the PHP
finfo
extension.Located at Resource.inc.php
Methods summary
protected
|
#
__construct( )
Use |
public
|
|
protected
string
|
|
public static
|
#
createFromFile( string|resource $fileNameOrHandle )
Initialises a new Resource instance from a file resource or filename. |
public
boolean|string
|
|
public
boolean|string
|
|
public
boolean
|
Methods inherited from Core\Object
__autocreateFactory()
,
__call()
,
__processParameters()
,
__toString()
,
attachMethod()
,
chain()
,
getValueForKey()
,
getValueForKeyPath()
,
getValueForUndefinedKey()
,
hash()
,
issetValueForKey()
,
setValueForKey()
,
setValueForKeyPath()
,
setValueForUndefinedKey()
,
uuid()
Constants summary
Constants inherited from Core\Object
AnyParameterType
,
AutochainParameterType
,
AutocreateParameterType
,
BooleanParameterType
,
CharParameterType
,
EnumParameterType
,
IntegerParameterType
,
RealParameterType
,
StringParameterType
,
UserParameterType
Properties summary
protected
array
|
$_file
Array of file resource properties. |