src/system/modules/subcolumns_bootstrap_customizable/classes/Netzmacht/ColumnSet/ColumnSet.php
public function getAllColumnsets($dc)
	{
		$collection = ColumnsetModel::findBy('published=1 AND columns', $dc->activeRecord->sc_type, array('order' => 'title'));
		$set = array();

		if($collection !== null)
		{
			while($collection->next()) {
				$set[$collection->id] = $collection->title;
			}
		}

		return $set;
	}
public function getAllColumnsets($dc)
	{
		$collection = ColumnsetModel::findBy('published=1 AND columns', $dc->activeRecord->sc_type, array('order' => 'title'));
		$set = array();

		if($collection !== null)
		{
			while($collection->next()) {
				$set[$collection->id] = $collection->title;
			}
		}

		return $set;
	}
public function getAllColumnsets ( $ dc ) { $ collection = ColumnsetModel :: findBy ( 'published=1 AND columns' , $ dc -> activeRecord -> sc_type , array ( 'order' => 'title' ) ) ; $ set = array ( ) ; if ( $ collection !== null ) { while ( $ collection -> next ( ) ) { $ set [ $ collection -> id ] = $ collection -> title ; } } return $ set ; }
get all columnsets which fits to the selected type
@param $dc
@return array
get all columnsets which fits to the selected type