public function Feed::getLicense in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/zendframework/zend-feed/src/Reader/Extension/CreativeCommons/Feed.php \Zend\Feed\Reader\Extension\CreativeCommons\Feed::getLicense()
Get the entry license
Parameters
int $index:
Return value
string|null
File
- vendor/
zendframework/ zend-feed/ src/ Reader/ Extension/ CreativeCommons/ Feed.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;
}