public function getPageBootstrapArticles($mcw)
	{
		if($this->articles === null)
		{
			$article = \ArticleModel::findByPk($mcw->activeRecord->pid);

			$model = \ArticleModel::findAll(array(
				'column' => 'pid =? AND inColumn',
				'value'  => array($article->pid, 'bootstrap'),
			));

			$articles = array();

			if($model === null) {
				return $articles;
			}

			while($model->next()) {
				$articles[$model->id] = $model->title;
			}

			$this->articles = $articles;
		}

		return $this->articles;
	}
public function getPageBootstrapArticles($mcw)
	{
		if($this->articles === null)
		{
			$article = \ArticleModel::findByPk($mcw->activeRecord->pid);

			$model = \ArticleModel::findAll(array(
				'column' => 'pid =? AND inColumn',
				'value'  => array($article->pid, 'bootstrap'),
			));

			$articles = array();

			if($model === null) {
				return $articles;
			}

			while($model->next()) {
				$articles[$model->id] = $model->title;
			}

			$this->articles = $articles;
		}

		return $this->articles;
	}
public function getPageBootstrapArticles ( $ mcw ) { if ( $ this -> articles === null ) { $ article = \ ArticleModel :: findByPk ( $ mcw -> activeRecord -> pid ) ; $ model = \ ArticleModel :: findAll ( array ( 'column' => 'pid =? AND inColumn' , 'value' => array ( $ article -> pid , 'bootstrap' ) , ) ) ; $ articles = array ( ) ; if ( $ model === null ) { return $ articles ; } while ( $ model -> next ( ) ) { $ articles [ $ model -> id ] = $ model -> title ; } $ this -> articles = $ articles ; } return $ this -> articles ; }
get all articles in bootstrap section of an article

@param $mcw
@return array
get all articles in bootstrap section of an article