CoolFace
Apppublic

kenken999/php

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes
listpage_embed.php60 linesDownload Raw Back to classes
1<?php2 3class ListPage_Embed extends ListPage4{5	var $viewPDF = 0;6	/**7	 * Constructor, set initial params8	 *9	 * @param array $params10	 */11	function __construct(&$params)12	{13		// copy properties to object14		//RunnerApply($this, $params);15		// call parent constructor16		parent::__construct($params);17	}18	/**19	 * Add common html code for curent mode20	 *21	 */22	function addCommonHtml()23	{24		parent::addCommonHtml();25		$this->xt->assign("footer","");26	}27	28	29	/**30	 * Add common assign for simple mode on list page31	 */	32	function commonAssign() 33	{34		parent::commonAssign();	35		if ($this->isDispGrid())36		{37			$this->xt->assign_section ("grid_block", '', '');38			if(!$this->recordsOnPage && !$this->fieldFilterEnabled())39			{40				$this->hideElement("grid");41			}42		}43	}44	45	function importAvailable() {46		return false;47	}48	function printAvailable() {49		return false;50	}51	function advSearchAvailable() {52		return false;53	}54	55	function exportAvailable() {56		return false;57	}58}59?>60