This feature is available since eZ publish 3.9.
Extensions can put their information in an ezinfo.php file in the extension's root directory. This info will be shown in the ezinfo/about view.
(the bold text represents the variable parts of the names, you should alter them for your extension)
Here's an example of the info of the ezodf extension, placed in the file extension/ezodf/ezinfo.php:
<?php class ezodfInfo { function info() { return array( 'Name' => "eZ OpenOffice.org extension", 'Version' => "2.0.0", 'Copyright' => "Copyright (C) 1999-2006 eZ systems AS", 'License' => "GNU General Public License v2.0", 'Includes the following third-party software' => array( 'Name' => 'PhpConcept Library - Zip Module', 'Version' => '2.4', 'License' => 'GNU/LGPL - Vincent Blavet - November 2004', 'For more information' => '<a href=https://www.phpconcept.net>https://www.phpconcept.net</a>' ) ); } } ?>
Note that the info method is static. For PHP5 compatibility, you will have to define it as follows:
static function info()
Article provided by eZpedia
All text is available under the terms of the GNU Free Documentation License
Powered by eZ Publish 4.0.3
Hosted by Swiss eZ Publish partner YMC