PHP Class Craft\Minimee_BaseAssetModel

Inheritance: extends craft\BaseModel, implements craft\Minimee_IAssetModel
Mostrar archivo Open project: johndwells/craft.minimee

Protected Properties

Property Type Description
$_contents Leave as 'protected' so our parent classes can access them
$_exists
$_lastTimeModified

Public Methods

Method Description
__toString ( ) : string
defineAttributes ( ) : Array
exists ( ) : Bool
getContents ( ) : String
getLastTimeModified ( ) : craft\DateTime

Protected Methods

Method Description
removeDoubleSlashes ( $string, $url = FALSE ) : string Modified remove_double_slashes()

Method Details

__toString() public method

public __toString ( ) : string
return string

defineAttributes() public method

public defineAttributes ( ) : Array
return Array

exists() public method

public exists ( ) : Bool
return Bool

getContents() public method

public getContents ( ) : String
return String

getLastTimeModified() public method

public getLastTimeModified ( ) : craft\DateTime
return craft\DateTime

removeDoubleSlashes() protected method

If the string passed is a URL, it will preserve leading double slashes
protected removeDoubleSlashes ( $string, $url = FALSE ) : string
return string String without double slashes

Property Details

$_contents protected_oe property

Leave as 'protected' so our parent classes can access them
protected $_contents

$_exists protected_oe property

protected $_exists

$_lastTimeModified protected_oe property

protected $_lastTimeModified