public function CommerceFileLicenseEntity::get_addresses in Commerce File 7
File
- includes/
commerce_file_license.entity.inc, line 788 - Provides a base class for CommerceFileLicenseEntity.
Class
- CommerceFileLicenseEntity
- A Commerce File License entity class.
Code
public function get_addresses() {
if (!isset($this->addresses)) {
$addrs = array();
foreach ($this
->get_logs() as $log) {
$addrs[$log->hostname] = $log->hostname;
}
$this->addresses = $addrs;
}
return $this->addresses;
}