/** * @param eZContentObjectTreeNode $node * @param string $cluster * @return string */ public static function getApplicationFromNode ( $node, $cluster = null ) { $publisherFolderPath = PublisherFolderTool::getPublisherFolderPathFromArticleNode($node); if ( $publisherFolderPath === false ) return false; return PublisherFolderTool::getPrefferedApplicationFromPath($publisherFolderPath, $cluster); }