Location: PHPKode > scripts > dyna_menue > dyna_menue/textlink.class.inc
<?
// ----------------------------------------------------------------------
// GSIBC DATA CLASS SYSTEM
// Copyright (C) 2004 by gsibc.net.
// GSIBC.net stands behind the software with support, training, certification and consulting.
// ----------------------------------------------------------------------
// LICENSE

// This program is open source product; you can redistribute it and/or
// modify it under the terms of the GNU General Public License (GPL)
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.

// To read the license please visit http://www.gnu.org/copyleft/gpl.html
// ----------------------------------------------------------------------
// Filename: textlink.class.php
// Original  Author(s): Rafat Katta hide@address.com
// ----------------------------------------------------------------------//
class CTextLinks {
	var $strURL;
	var $strText;
	function CTextLinks($strURL,$strText){
		$this->strURL=$strURL;
		$this->strText=$strText;
	}
	function setURL($strURL){ $this->strURL=$strURL;}
	function getURL(){return $this->strURL;}
	function setText ($strText){ $this->strText=$strText;}
	function getText(){return $this->strText;}
	function showHtml() { echo '<a href="'.$this->getURL().'">'.$this->getText()."</a>\n";}

}
?>
Return current item: dyna_menue