Login   Register  
PHP Classes
elePHPant
Icontem

File: redmine.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Mukhamad Ikhsan  >  Redmine PHP Console Tools  >  redmine.php  >  Download  
File: redmine.php
Role: Application script
Content type: text/plain
Description: Application script
Class: Redmine PHP Console Tools
Manage projects hosted in a Redmine installation
Author: By
Last change:
Date: 2 years ago
Size: 732 bytes
 

Contents

Class file image Download
<?php

require_once ('Loader/ClassMapAutoloader.php');

use 
Zend\Loader\ClassMapAutoloader;
use 
Symfony\Component\Console as Console;
use 
Redmine\Resources as Resources;

$loader = new ClassMapAutoloader(array('autoload_classmap.php'));

$loader->register();
$console = new Console\Application();

$console->add(new Resources\IssueCreateCommand());
$console->add(new Resources\IssueListCommand());
$console->add(new Resources\IssueUpdateCommand());
$console->add(new Resources\IssueDeleteCommand());
$console->add(new Resources\IssueCategoryListCommand());
$console->add(new Resources\IssueCategoryCreateCommand());
$console->add(new Resources\ProjectListCommand());
$console->add(new Resources\UserListCommand());

$console->run();