public static function getActiveDefaultColumns($columns)
	{
		$column = array();

		foreach($columns as $val) {
			$keyIndex = self::getKeyIndex($val);
			if($keyIndex)
				$column[] = $keyIndex;
		}

		return $column;
	}
public static function getActiveDefaultColumns($columns)
	{
		$column = array();

		foreach($columns as $val) {
			$keyIndex = self::getKeyIndex($val);
			if($keyIndex)
				$column[] = $keyIndex;
		}

		return $column;
	}
public static function getActiveDefaultColumns ( $ columns ) { $ column = array ( ) ; foreach ( $ columns as $ val ) { $ keyIndex = self :: getKeyIndex ( $ val ) ; if ( $ keyIndex ) $ column [ ] = $ keyIndex ; } return $ column ; }
Generates key index defaultColumns in models
@return array
Generates key index defaultColumns in models