code/libraries/joomlatools/library/database/table/abstract.php
public function getUniqueColumns()
    {
        $result = array();
        $columns = $this->getColumns(true);

        foreach ($columns as $name => $description)
        {
            if ($description->unique) {
                $result[$name] = $description;
            }
        }

        return $result;
    }
public function getUniqueColumns()
    {
        $result = array();
        $columns = $this->getColumns(true);

        foreach ($columns as $name => $description)
        {
            if ($description->unique) {
                $result[$name] = $description;
            }
        }

        return $result;
    }
public function getUniqueColumns ( ) { $ result = array ( ) ; $ columns = $ this -> getColumns ( true ) ; foreach ( $ columns as $ name => $ description ) { if ( $ description -> unique ) { $ result [ $ name ] = $ description ; } } return $ result ; }
Gets the unique columns of the table

@return array An associative array of unique table columns by column name
Gets the unique columns of the table