original_string: public function tags()
      {
          if ( !is_array( $this->IDArray ) || empty( $this->IDArray ) )
              return array();
  
          $tags = array();
          foreach ( eZTagsObject::fetchList( array( 'id' => array( $this->IDArray ) ) ) as $item )
          {
              $tags[array_search( $item->attribute( 'id' ), $this->IDArray )] = $item;
          }
          ksort( $tags );
  
          return $tags;
      }
code: public function tags()
      {
          if ( !is_array( $this->IDArray ) || empty( $this->IDArray ) )
              return array();
  
          $tags = array();
          foreach ( eZTagsObject::fetchList( array( 'id' => array( $this->IDArray ) ) ) as $item )
          {
              $tags[array_search( $item->attribute( 'id' ), $this->IDArray )] = $item;
          }
          ksort( $tags );
  
          return $tags;
      }
code_tokens: public function tags ( ) { if ( ! is_array ( $ this -> IDArray ) || empty ( $ this -> IDArray ) ) return array ( ) ; $ tags = array ( ) ; foreach ( eZTagsObject :: fetchList ( array ( 'id' => array ( $ this -> IDArray ) ) ) as $ item ) { $ tags [ array_search ( $ item -> attribute ( 'id' ) , $ this -> IDArray ) ] = $ item ; } ksort ( $ tags ) ; return $ tags ; }
docstring: Returns tags within this instance
  
  @return eZTagsObject[]
docstring_tokens: Returns tags within this instance