protected static function FeedFactory::convertKey in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/zendframework/zend-feed/src/Writer/FeedFactory.php \Zend\Feed\Writer\FeedFactory::convertKey()
Normalize a key
Parameters
string $key:
Return value
string
2 calls to FeedFactory::convertKey()
- FeedFactory::createEntries in vendor/
zendframework/ zend-feed/ src/ Writer/ FeedFactory.php - Create and attach entries to a feed
- FeedFactory::factory in vendor/
zendframework/ zend-feed/ src/ Writer/ FeedFactory.php - Create and return a Feed based on data provided.
File
- vendor/
zendframework/ zend-feed/ src/ Writer/ FeedFactory.php, line 75
Class
Namespace
Zend\Feed\WriterCode
protected static function convertKey($key) {
$key = str_replace('_', '', strtolower($key));
return $key;
}