tao-test/app/generis/test/samples/manifests/complexManifest.php

65 lines
2.8 KiB
PHP

<?php
/*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; under version 2
* of the License (non-upgradable).
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* Copyright (c) 2008-2010 (original work) Deutsche Institut für Internationale Pädagogische Forschung (under the project TAO-TRANSFER);
* 2009-2012 (update and modification) Public Research Centre Henri Tudor (under the project TAO-SUSTAIN & TAO-DEV);
*
*/
?>
<?php
/**
* @author CRP Henri Tudor - TAO Team - {@link http://www.tao.lu}
* @license GPLv2 http://www.opensource.org/licenses/gpl-2.0.php
*/
return [
'name' => 'complex',
'description' => 'complex testing manifest',
'author' => 'TAO Team',
'models' => [
'http://www.tao.lu/Ontologies/taoFuncACL.rdf',
'http://www.tao.lu/Ontologies/taoItemBank.rdf'
],
'install' => [
'rdf' => [
'/extension/path/models/ontology/taofuncacl.rdf',
'/extension/path/models/ontology/taoitembank.rdf'
],
'checks' => [
['type' => 'CheckPHPRuntime', 'value' => ['id' => 'php_runtime', 'min' => '5.3', 'max' => '5.3.18']],
['type' => 'CheckPHPExtension', 'value' => ['id' => 'ext_pdo', 'name' => 'PDO']],
['type' => 'CheckPHPExtension', 'value' => ['id' => 'ext_svn','name' => 'svn', 'optional' => true]],
['type' => 'CheckPHPExtension', 'value' => ['id' => 'ext_suhosin','name' => 'suhosin', 'optional' => true]],
['type' => 'CheckPHPINIValue', 'value' => ['id' => 'ini_register_globals', 'name' => 'register_globals', 'value' => "0"]],
['type' => 'CheckFileSystemComponent', 'value' => ['id' => 'fs_root','location' => '.', 'rights' => 'rw', 'name' => 'fs_root']],
]
],
'constants' => [
// web services
'WS_ENDPOINT_TWITTER' => 'http://twitter.com/statuses/',
'WS_ENDPOINT_FACEBOOK' => 'http://api.facebook.com/restserver.php'
],
'optimizableClasses' => [
'http://www.linkeddata.org/ontologies/data.rdf#myClass1',
'http://www.linkeddata.org/ontologies/data.rdf#myClass2'
],
'optimizableProperties' => [
'http://www.linkeddata.org/ontologies/props.rdf#myProp1',
'http://www.linkeddata.org/ontologies/props.rdf#myProp2'
]
];