protected function compile()
	{
		$data = deserialize($this->columnset, true);
		$articles = array();

		$container = \Netzmacht\ColumnSet\ColumnSet::prepareContainer($this->columnset_id);
		$i=0;

		foreach($data as $article) {
			$articles[] = array(
				'article' => $this->getArticle($article['article'], false, !((bool) $this->articleMarkup)),
				'class'   => $container[$i++][0],
				'id'      => $article['article'],
			);
		}

		$this->Template->articles = $articles;
	}
protected function compile()
	{
		$data = deserialize($this->columnset, true);
		$articles = array();

		$container = \Netzmacht\ColumnSet\ColumnSet::prepareContainer($this->columnset_id);
		$i=0;

		foreach($data as $article) {
			$articles[] = array(
				'article' => $this->getArticle($article['article'], false, !((bool) $this->articleMarkup)),
				'class'   => $container[$i++][0],
				'id'      => $article['article'],
			);
		}

		$this->Template->articles = $articles;
	}
protected function compile ( ) { $ data = deserialize ( $ this -> columnset , true ) ; $ articles = array ( ) ; $ container = \ Netzmacht \ ColumnSet \ ColumnSet :: prepareContainer ( $ this -> columnset_id ) ; $ i = 0 ; foreach ( $ data as $ article ) { $ articles [ ] = array ( 'article' => $ this -> getArticle ( $ article [ 'article' ] , false , ! ( ( bool ) $ this -> articleMarkup ) ) , 'class' => $ container [ $ i ++ ] [ 0 ] , 'id' => $ article [ 'article' ] , ) ; } $ this -> Template -> articles = $ articles ; }
compile column set
compile column set