Exemple #1
0
<?php

namespace Silverorange\Autoloader;

$package = new Package('silverorange/cme');
$package->addRule(new Rule('dataobjects', 'CME', array('AccountCMEProgress', 'AccountEarnedCMECredit', 'Account', 'Credit', 'Evaluation', 'EvaluationReport', 'EvaluationResponse', 'FrontMatter', 'Provider', 'Quiz', 'QuizReport', 'QuizResponse', 'Wrapper')));
$package->addRule(new Rule('certificates', 'CME', 'Certificate'));
$package->addRule(new Rule('pages', 'CME', array('Page', 'Server')));
$package->addRule(new Rule('', 'CME'));
Autoloader::addPackage($package);
Exemple #2
0
<?php

namespace Silverorange\Autoloader;

$package = new Package('silverorange/sniftr');
$package->addRule(new Rule('', 'Sniftr'));
Autoloader::addPackage($package);
Exemple #3
0
<?php

namespace Silverorange\Autoloader;

$package = new Package('silverorange/creation');
$package->addRule(new Rule('', 'Creation'));
Autoloader::addPackage($package);
Exemple #4
0
<?php

namespace Silverorange\Autoloader;

$package = new Package('silverorange/news_flash');
$package->addRule(new Rule('exceptions', 'NewsFlash', 'Exception'));
$package->addRule(new Rule('', 'NewsFlash'));
Autoloader::addPackage($package);
Exemple #5
0
<?php

namespace Silverorange\Autoloader;

$package = new Package('silverorange/atom_feed');
$package->addRule(new Rule('', 'AtomFeed'));
Autoloader::addPackage($package);
Exemple #6
0
<?php

namespace Silverorange\Autoloader;

$package = new Package('silverorange/blorg');
$package->addRule(new Rule('pages', 'Blorg', array('Page', 'Server')));
$package->addRule(new Rule('gadgets', 'Blorg', 'Gadget'));
$package->addRule(new Rule('views', 'Blorg', 'View'));
$package->addRule(new Rule('dataobjects', 'Blorg', array('Binding', 'Wrapper', 'Author', 'Comment', 'FileImage', 'File', 'Post', 'Tag')));
$package->addRule(new Rule('', 'Blorg'));
Autoloader::addPackage($package);