public function openTag($name, $attributes=null) {
        if ($attributes) {
          $initial = $name;
          $name = self::open($initial);
          $name .= self::getAttributesCollection($attributes);
          $name .= ">";

          return $name;
        } 

      return self::fullOpen($name);
    }
public function openTag($name, $attributes=null) {
        if ($attributes) {
          $initial = $name;
          $name = self::open($initial);
          $name .= self::getAttributesCollection($attributes);
          $name .= ">";

          return $name;
        } 

      return self::fullOpen($name);
    }
public function openTag ( $ name , $ attributes = null ) { if ( $ attributes ) { $ initial = $ name ; $ name = self :: open ( $ initial ) ; $ name .= self :: getAttributesCollection ( $ attributes ) ; $ name .= ">" ; return $ name ; } return self :: fullOpen ( $ name ) ; }
open tag for a BaML
document. will join
attributes if available

@param name: valid BaML verb
open tag for a BaML document . will join attributes if available