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