protected function Entry::getData in Zircon Profile 8.0
Same name in this branch
- 8.0 vendor/zendframework/zend-feed/src/Reader/Extension/Thread/Entry.php \Zend\Feed\Reader\Extension\Thread\Entry::getData()
- 8.0 vendor/zendframework/zend-feed/src/Reader/Extension/Slash/Entry.php \Zend\Feed\Reader\Extension\Slash\Entry::getData()
Same name and namespace in other branches
- 8 vendor/zendframework/zend-feed/src/Reader/Extension/Slash/Entry.php \Zend\Feed\Reader\Extension\Slash\Entry::getData()
Get the entry data specified by name
Parameters
string $name:
string $type:
Return value
mixed|null
4 calls to Entry::getData()
- Entry::getCommentCount in vendor/
zendframework/ zend-feed/ src/ Reader/ Extension/ Slash/ Entry.php - Get the entry comments
- Entry::getDepartment in vendor/
zendframework/ zend-feed/ src/ Reader/ Extension/ Slash/ Entry.php - Get the entry department
- Entry::getHitParade in vendor/
zendframework/ zend-feed/ src/ Reader/ Extension/ Slash/ Entry.php - Get the entry hit_parade
- Entry::getSection in vendor/
zendframework/ zend-feed/ src/ Reader/ Extension/ Slash/ Entry.php - Get the entry section
File
- vendor/
zendframework/ zend-feed/ src/ Reader/ Extension/ Slash/ Entry.php, line 96
Class
Namespace
Zend\Feed\Reader\Extension\SlashCode
protected function getData($name, $type = 'string') {
if (array_key_exists($name, $this->data)) {
return $this->data[$name];
}
$data = $this->xpath
->evaluate($type . '(' . $this
->getXpathPrefix() . '/slash10:' . $name . ')');
if (!$data) {
$data = null;
}
$this->data[$name] = $data;
return $data;
}