/** * @param ApplicationLocalized $localizedApp * @return string */ public static function createExternalApplicationCookieKey( $localizedApp ) { $cookieKey = array( $localizedApp->attribute('headline') ); if( $publisherNodeId = $localizedApp->publisherNodeIds() ) { $cookieKey[] = $publisherNodeId[0]; } return md5(serialize( $cookieKey )); }
/** * @return integer */ protected function getMetaPathId() { return reset($this->application->publisherNodeIds()); //return end($this->application->applicationNode()->pathArray()); }