c2ephp

tests/cob.php

Go to the documentation of this file.
00001 <?php
00002 include('../agents/COB.php');
00003 require_once('../support/FileReader.php');
00004 
00005 $cob = new COB(new FileReader($argv[1]));
00006 $rcbname = substr($argv[1],0,-3).'rcb';
00007 if(file_exists($rcbname)) {
00008     $rcbreader = new FileReader($rcbname);
00009     $blocks = $cob->GetBlocks(COB_BLOCK_AGENT);
00010     $blocks[0]->AddC1RemoveScriptFromRCB($rcbreader);
00011 }
00012 print_r($cob);
00013 ?>
 All Classes Files Functions Variables Enumerations