public function setWrapIntoCollection($flag = true, $model = null, $primary = null) {
		$this->_wrapIntoCollection = (bool) $flag;
		
		if ($model !== null) {
			$this->_modelClass = (string) $model;
		}
		
		if ($primary !== null) {
			$this->_primary = (string) $primary;
		}
	}
public function setWrapIntoCollection($flag = true, $model = null, $primary = null) {
		$this->_wrapIntoCollection = (bool) $flag;
		
		if ($model !== null) {
			$this->_modelClass = (string) $model;
		}
		
		if ($primary !== null) {
			$this->_primary = (string) $primary;
		}
	}
public function setWrapIntoCollection ( $ flag = true , $ model = null , $ primary = null ) { $ this -> _wrapIntoCollection = ( bool ) $ flag ; if ( $ model !== null ) { $ this -> _modelClass = ( string ) $ model ; } if ( $ primary !== null ) { $ this -> _primary = ( string ) $ primary ; } }
Wrap items into the collection

@param bool $flag
Wrap items into the collection