public function isAutoIncrement($tableName) {

		$fields = $this->describeTable($tableName);
		
		foreach ($fields as $field) {
			if ('auto_increment' == $field->Extra) {
				return TRUE;
			}
		}
		
		return FALSE;
		
	}
public function isAutoIncrement($tableName) {

		$fields = $this->describeTable($tableName);
		
		foreach ($fields as $field) {
			if ('auto_increment' == $field->Extra) {
				return TRUE;
			}
		}
		
		return FALSE;
		
	}
public function isAutoIncrement ( $ tableName ) { $ fields = $ this -> describeTable ( $ tableName ) ; foreach ( $ fields as $ field ) { if ( 'auto_increment' == $ field -> Extra ) { return TRUE ; } } return FALSE ; }
Check if parameter table has auto-increment primary key by using cached method.

@param	string	Name of table to check auto-increment flag.

@return	bool
Check if parameter table has auto - increment primary key by using cached method .