protected function assembleIndexKey($index_cols,$table_name) {
		if (!is_array($index_cols))
			$index_cols = array($index_cols);
		$name = $table_name.'___'.implode('__', $index_cols);
		if (strlen($name)>64)
			$name=$table_name.'___'.\Base::instance()->hash(implode('__', $index_cols));
		if (strlen($name)>64)
			$name='___'.\Base::instance()->hash($table_name.'___'.implode('__', $index_cols));
		return $name;
	}
protected function assembleIndexKey($index_cols,$table_name) {
		if (!is_array($index_cols))
			$index_cols = array($index_cols);
		$name = $table_name.'___'.implode('__', $index_cols);
		if (strlen($name)>64)
			$name=$table_name.'___'.\Base::instance()->hash(implode('__', $index_cols));
		if (strlen($name)>64)
			$name='___'.\Base::instance()->hash($table_name.'___'.implode('__', $index_cols));
		return $name;
	}
protected function assembleIndexKey ( $ index_cols , $ table_name ) { if ( ! is_array ( $ index_cols ) ) $ index_cols = array ( $ index_cols ) ; $ name = $ table_name . '___' . implode ( '__' , $ index_cols ) ; if ( strlen ( $ name ) > 64 ) $ name = $ table_name . '___' . \ Base :: instance ( ) -> hash ( implode ( '__' , $ index_cols ) ) ; if ( strlen ( $ name ) > 64 ) $ name = '___' . \ Base :: instance ( ) -> hash ( $ table_name . '___' . implode ( '__' , $ index_cols ) ) ; return $ name ; }
create index name from one or more given column names, max. 64 char lengths
@param string|array $index_cols
@return string
create index name from one or more given column names max . 64 char lengths