tion->getUploadedTemplates(); $this->aUploadedTemplateIDs = array_keys( $_aUploadedTemplates ); $this->aUploadedTemplateDirPaths = array(); foreach( $_aUploadedTemplates as $_sTemplateID => $_aTemplate ) { $_sDirPath = realpath( $this->getElement( $_aTemplate, array( 'dir_path' ) ) ); if ( empty( $_sDirPath ) ) { continue; } $this->aUploadedTemplateDirPaths[ $_sTemplateID ] = $_sDirPath; } } }