original_string: public static function vCard($name, $address = '', $locality = '', $state = '', $zip = '', $email = '')
      {
          $items   = array();
          $items[] = \CHtml::tag('li', array('class' => 'fn'), $name);
          $items[] = \CHtml::tag('li', array('class' => 'street-address'), $address);
          $items[] = \CHtml::tag('li', array('class' => 'locality'), $locality);
          $sub     = array();
          $sub[]   = \CHtml::tag('span', array('class' => 'state'), $state);
          $sub[]   = \CHtml::tag('span', array('class' => 'zip'), $zip);
          $items[] = \CHtml::tag('li', array(), implode(", ", $sub));
          $items[] = \CHtml::tag('li', array('class' => 'email'), $email);
  
          return \CHtml::tag('ul', array('class' => 'vcard'), implode("\n", $items));
      }
code: public static function vCard($name, $address = '', $locality = '', $state = '', $zip = '', $email = '')
      {
          $items   = array();
          $items[] = \CHtml::tag('li', array('class' => 'fn'), $name);
          $items[] = \CHtml::tag('li', array('class' => 'street-address'), $address);
          $items[] = \CHtml::tag('li', array('class' => 'locality'), $locality);
          $sub     = array();
          $sub[]   = \CHtml::tag('span', array('class' => 'state'), $state);
          $sub[]   = \CHtml::tag('span', array('class' => 'zip'), $zip);
          $items[] = \CHtml::tag('li', array(), implode(", ", $sub));
          $items[] = \CHtml::tag('li', array('class' => 'email'), $email);
  
          return \CHtml::tag('ul', array('class' => 'vcard'), implode("\n", $items));
      }
code_tokens: public static function vCard ( $ name , $ address = '' , $ locality = '' , $ state = '' , $ zip = '' , $ email = '' ) { $ items = array ( ) ; $ items [ ] = \ CHtml :: tag ( 'li' , array ( 'class' => 'fn' ) , $ name ) ; $ items [ ] = \ CHtml :: tag ( 'li' , array ( 'class' => 'street-address' ) , $ address ) ; $ items [ ] = \ CHtml :: tag ( 'li' , array ( 'class' => 'locality' ) , $ locality ) ; $ sub = array ( ) ; $ sub [ ] = \ CHtml :: tag ( 'span' , array ( 'class' => 'state' ) , $ state ) ; $ sub [ ] = \ CHtml :: tag ( 'span' , array ( 'class' => 'zip' ) , $ zip ) ; $ items [ ] = \ CHtml :: tag ( 'li' , array ( ) , implode ( ", " , $ sub ) ) ; $ items [ ] = \ CHtml :: tag ( 'li' , array ( 'class' => 'email' ) , $ email ) ; return \ CHtml :: tag ( 'ul' , array ( 'class' => 'vcard' ) , implode ( "\n" , $ items ) ) ; }
docstring: Renders a handy microformat-friendly list for addresses
  @param string $name
  @param string $address
  @param string $locality
  @param string $state
  @param string $zip
  @param string $email
  @return string the generated vcard
docstring_tokens: Renders a handy microformat - friendly list for addresses