public function Entry::getLicense in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/zendframework/zend-feed/src/Reader/Extension/CreativeCommons/Entry.php \Zend\Feed\Reader\Extension\CreativeCommons\Entry::getLicense()
Get the entry license
Parameters
int $index:
Return value
string|null
File
- vendor/
zendframework/ zend-feed/ src/ Reader/ Extension/ CreativeCommons/ Entry.php, line 22
Class
Namespace
Zend\Feed\Reader\Extension\CreativeCommonsCode
public function getLicense($index = 0) {
$licenses = $this
->getLicenses();
if (isset($licenses[$index])) {
return $licenses[$index];
}
return;
}