예제 #1
0
 public function resolve(MarkupContainer $container, ComponentTag &$tag)
 {
     if ($tag instanceof PiconTag && $tag->getName() == 'picon:panel') {
         $id = 'panel' . $container->getPage()->getAutoIndex();
         $tag->setComponentTagId($id);
         return new TransparentMarkupContainer($id);
     }
     return null;
 }