
Public Member Functions | |
| setLink ($liParams, $innerText) | |
Protected Member Functions | |
| _toHtml () | |
Definition at line 33 of file Item.php.
| _toHtml | ( | ) | [protected] |
Override this method in descendants to produce html
Reimplemented from Mage_Core_Block_Text.
Definition at line 43 of file Item.php.
00044 { 00045 $this->setText('<li'); 00046 $params = $this->getLiParams(); 00047 if (!empty($params) && is_array($params)) { 00048 foreach ($params as $key=>$value) { 00049 $this->addText(' '.$key.'="'.addslashes($value).'"'); 00050 } 00051 } elseif (is_string($params)) { 00052 $this->addText(' '.$params); 00053 } 00054 $this->addText('>'.$this->getInnerText().'</li>'."\r\n"); 00055 00056 return parent::_toHtml(); 00057 }
| setLink | ( | $ | liParams, | |
| $ | innerText | |||
| ) |
1.5.8