Source for file CMS_PAGE_PRGPROLIST.phpclass
Documentation is available at CMS_PAGE_PRGPROLIST.phpclass
* openCSP class file CMS_PAGE_PRODUCTLIST.phpclass
* @project Open CSP-Management
* @author Peter Krebs <pitlinz@users.sourceforge.net>
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id: CMS_PAGE_PRGPROLIST.phpclass,v 1.1 2008/07/25 14:59:49 pitlinz Exp $
// ---------------------------------------------------------
// ---------------------------------------------------------
* openCSP class CMS_PAGE_PRODUCTLIST
* @project Open CSP-Management
* @author Peter Krebs <pitlinz@users.sourceforge.net>
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id: CMS_PAGE_PRGPROLIST.phpclass,v 1.1 2008/07/25 14:59:49 pitlinz Exp $
// ---------------------------------------------------------------------------
// ---------------------------------------------------------------------------
* @constant string CLASS_SRC_FILE
// ---------------------------------------------------------------------------
// ---------------------------------------------------------------------------
/*** class vars ------------------------------------------------------ */
/*** class methods --------------------------------------------------- */
// ---------------------------------------------------------------------------
// ---------------------------------------------------------------------------
/*** compostion --------------------------------------------------- */
/*** attributes -------------------------------------------------- */
// ---------------------------------------------------------------------------
// ---------------------------------------------------------------------------
// ---------------------------------------------------------------------------
// ---------------------------------------------------------------------------
* returns a array of variables used by the page object
* [FLDCLASS] name of DBMS_FIELD* class
* [CLASSVALS] array of values of [FLDCLASS]
$arr_ret=
parent::getObjVarDef();
// ---------------------------------------------------------------------------
// ---------------------------------------------------------------------------
* renders the product list
* returns the content of the page
* @param int $chaShowMode
public function getContent($chaShowMode=
0,$debug=
False)
if ($this->getContentCalled)
throw
new Exception('content called twice');
$this->getContentCalled =
True;
if (!empty($this->GLOBAL_VALUES)) {
if ($debug) echoDebugLine(__FILE__
,__LINE__
,"<pre>--".
$this->GLOBAL_VALUES.
"--</pre>");
if ($keyVals=
explode("\n",$this->GLOBAL_VALUES.
"\n")) {
foreach($keyVals as $kv) {
if ($debug) echoDebugLine(__FILE__
,__LINE__
,"<pre>KV: ".
$kv.
"</pre>");
if ($debug) echoDebugLine(__FILE__
,__LINE__
,"<pre>Setting PAGVAR[".
$k.
"] to ".
$v.
"</pre>");
return parent::getContent($chaShowMode,$debug);
} else if(empty($this->PROGRAMM_INC)) {
return parent::getContent($chaShowMode,$debug);
if ($debug) echoDebugLine(__FILE__
,__LINE__
,"<p>Programm Include: ".
$this->PROGRAMM_INC.
"</p>");
if ($debug) echoDebugLine(__FILE__
,__LINE__
,"<p>Programm Include: ".
$this->PROGRAMM_INC.
"</p>");
if ($debug) echo
"<p>Programm Include: <b>not found</b></b>";
$str_ret.=
$this->pageIncludeOutput;
Documentation generated on Thu, 08 Jan 2009 17:39:36 +0100 by phpDocumentor 1.4.0a2