function getChannels()
 {
     $args = func_get_args();
     if (count($args) == 1 && is_array($args[0])) {
         $args = $args[0];
     }
     return wiOpFactory::get('CopyChannelsPalette')->execute($this, $args);
 }
예제 #2
0
 function getOperation($name)
 {
     return wiOpFactory::get($name);
 }
 function testUserDefinedOp()
 {
     $op = wiOpFactory::get('MyOperation');
     $this->assertTrue($op instanceof wioMyOperation);
 }