protected function _ListAll(Criteria $criteria, $current_page, $limit)
	{
		if (!$this->ModelName)
		{
			throw new Exception("ModelName must be defined in " . get_class($this) . "::_ListAll.");
		}

		$page = $this->Phreezer->Query($this->ModelName,$criteria)->GetDataPage($current_page,$limit);
		$this->RenderEngine->assign($this->ModelName . "DataPage", $page);
		$this->RenderEngine->display("View" . $this->ModelName .  "ListAll.tpl");
	}
protected function _ListAll(Criteria $criteria, $current_page, $limit)
	{
		if (!$this->ModelName)
		{
			throw new Exception("ModelName must be defined in " . get_class($this) . "::_ListAll.");
		}

		$page = $this->Phreezer->Query($this->ModelName,$criteria)->GetDataPage($current_page,$limit);
		$this->RenderEngine->assign($this->ModelName . "DataPage", $page);
		$this->RenderEngine->display("View" . $this->ModelName .  "ListAll.tpl");
	}
protected function _ListAll ( Criteria $ criteria , $ current_page , $ limit ) { if ( ! $ this -> ModelName ) { throw new Exception ( "ModelName must be defined in " . get_class ( $ this ) . "::_ListAll." ) ; } $ page = $ this -> Phreezer -> Query ( $ this -> ModelName , $ criteria ) -> GetDataPage ( $ current_page , $ limit ) ; $ this -> RenderEngine -> assign ( $ this -> ModelName . "DataPage" , $ page ) ; $ this -> RenderEngine -> display ( "View" . $ this -> ModelName . "ListAll.tpl" ) ; }
Displays the ListAll view for the primary model object in the event that
ajax will not be used.  The model data is populated

@param Criteria $criteria
@param int $current_page number of the current page (for pagination)
@param int $limit size of the page (for pagination)
Displays the ListAll view for the primary model object in the event that ajax will not be used . The model data is populated