public function AcquiaDAM_Assets_AbstractAsset::toArray in Media: Acquia DAM 7
Get an array representation of this asset.
Return value
array The asset as an array.
2 calls to AcquiaDAM_Assets_AbstractAsset::toArray()
- AcquiaDAM_Assets_AbstractAsset::jsonSerialize in src/
AcquiaDAM/ AcquiaDAM_Assets_AbstractAsset.inc - Implementation for JsonSerializable.
- AcquiaDAM_Assets_AbstractAsset::__toString in src/
AcquiaDAM/ AcquiaDAM_Assets_AbstractAsset.inc - Return a string representation of this asset.
File
- src/
AcquiaDAM/ AcquiaDAM_Assets_AbstractAsset.inc, line 446
Class
- AcquiaDAM_Assets_AbstractAsset
- Abstract class base for Acquia DAM assets.
Code
public function toArray() {
return $this
->get();
}