protected $is_public;
protected $built_from_template;
- function ImportedProject($res) {
+ function __construct($res) {
$this->res = $res;
$this->unix_name = $this->res->getPropValue('doap:name');
protected $project;
protected $users;
- function ImportedProjectRole(& $project, $res) {
+ function __construct(& $project, $res) {
$this->project = $project;
$this->name = $res->getPropValue('sioc:name');
$this->users = $res->getPropValues('sioc:function_of');
protected $email;
//protected $initial_role;
- function ImportedUser($res) {
+ function __construct($res) {
$this->res = $res;
$this->unix_name = $this->res->getPropValue('foaf:accountName');
* TODO Enter description here ...
* @param unknown_type $group_id
*/
- function ProjectImporter($the_group_id = FALSE) {
+ function __construct($the_group_id = FALSE) {
global $group_id;
if (! $the_group_id) {
$the_group_id = $group_id;
<?php
-
/**
* Utility classes to manage uploaded files
*
*
*/
class SiteAdminFilesDirectory extends AbstractFilesDirectory {
- public function SiteAdminFilesDirectory($HTML) {
+ public function __construct($HTML) {
$storage_base = forge_get_config('storage_base', 'projectimport');
* @param HTML generator $HTML
* @param integer $group_id
*/
- public function ProjectFilesDirectory($HTML, $group_id) {
+ public function __construct($HTML, $group_id) {
// store the project files inside a group unix name's subdir
$group = group_get_object($group_id);
* @param HTML generator $HTML
* @param AbstractFilesDirectory $storage (optional)
*/
- function FileManagerPage($HTML, $storage=False) {
+ function __construct($HTML, $storage=False) {
$this->html_generator = $HTML;
$this->message = '';
protected $form_header_already_displayed;
- function ProjectImportPage($HTML) {
+ function __construct($HTML) {
global $group_id;
$this->form_header_already_displayed = false;
$this->importer = False;
protected $form_header_already_displayed;
- function ProjectsImportPage($HTML) {
+ function __construct($HTML) {
$this->form_header_already_displayed = false;
$this->importer = ProjectImporter::getInstance();
protected $form_header_already_displayed;
- function UsersImportPage($HTML) {
+ function __construct($HTML) {
$this->form_header_already_displayed = false;
$this->importer = ProjectImporter::getInstance();
require_once 'common/plugin/PluginDescriptor.class.php';
class RepositoryAPIPluginDescriptor extends PluginDescriptor {
- function RepositoryAPIPluginDescriptor() {
+ function __construct() {
$this->PluginDescriptor(_('RepositoryAPI'), 'v1.0', _('Metadata retrieval API for repositories'));
}
}
require_once 'RepositoryAPIPluginDescriptor.class.php';
class RepositoryAPIPluginInfo extends PluginInfo {
- function RepositoryAPIPluginInfo(&$plugin) {
+ function __construct(&$plugin) {
$this->PluginInfo($plugin);
$this->setPluginDescriptor(new RepositoryAPIPluginDescriptor());
}