original_string: public static function getIdsWithInheritance($klass)
      {
          $klasses = Common::getClassLineage($klass);
  
          $result = array();
          foreach ($klasses as $klass) {
              try {
                  $result[] = $klass::getViewDataTableId();
              } catch (\Exception $e) {
                  // in case $klass did not define an id: eg Plugin\ViewDataTable
                  continue;
              }
          }
  
          return $result;
      }
code: public static function getIdsWithInheritance($klass)
      {
          $klasses = Common::getClassLineage($klass);
  
          $result = array();
          foreach ($klasses as $klass) {
              try {
                  $result[] = $klass::getViewDataTableId();
              } catch (\Exception $e) {
                  // in case $klass did not define an id: eg Plugin\ViewDataTable
                  continue;
              }
          }
  
          return $result;
      }
code_tokens: public static function getIdsWithInheritance ( $ klass ) { $ klasses = Common :: getClassLineage ( $ klass ) ; $ result = array ( ) ; foreach ( $ klasses as $ klass ) { try { $ result [ ] = $ klass :: getViewDataTableId ( ) ; } catch ( \ Exception $ e ) { // in case $klass did not define an id: eg Plugin\ViewDataTable continue ; } } return $ result ; }
docstring: Returns the viewDataTable IDs of a visualization's class lineage.
  
  @see self::getVisualizationClassLineage
  
  @param string $klass The visualization class.
  
  @return array
docstring_tokens: Returns the viewDataTable IDs of a visualization s class lineage .