示例#1
0
 public function __construct(Library\ObjectConfig $config)
 {
     parent::__construct($config);
     $this->registerCallback('before.add', array($this, 'addFile'));
     $this->registerCallback('before.edit', array($this, 'addFile'));
 }