public function getTableKeys($tableName) {
		
		$keys = array();
		
		$fields = $this->describeTable($tableName);
		
		foreach ($fields as $field) {
			if ('PRI' == $field->Key) {
				$keys[] = $field->Field;
			}
		}
		
		return $keys;
		
	}
public function getTableKeys($tableName) {
		
		$keys = array();
		
		$fields = $this->describeTable($tableName);
		
		foreach ($fields as $field) {
			if ('PRI' == $field->Key) {
				$keys[] = $field->Field;
			}
		}
		
		return $keys;
		
	}
public function getTableKeys ( $ tableName ) { $ keys = array ( ) ; $ fields = $ this -> describeTable ( $ tableName ) ; foreach ( $ fields as $ field ) { if ( 'PRI' == $ field -> Key ) { $ keys [ ] = $ field -> Field ; } } return $ keys ; }
Return an array of table-key names by using cached methods.

@param	string	Name of table to which get the keys.

@return	string[]
Return an array of table - key names by using cached methods .