[ Index ] |
|
Code source de PRADO 3.0.6 |
1 <?php 2 3 class DocLink extends THyperLink 4 { 5 const BASE_URL='http://www.pradosoft.com/docs/manual'; 6 7 public function getClassPath() 8 { 9 return $this->getViewState('ClassPath',''); 10 } 11 12 public function setClassPath($value) 13 { 14 $this->setViewState('ClassPath',$value,''); 15 } 16 17 public function onPreRender($param) 18 { 19 parent::onPreRender($param); 20 $paths=explode('.',$this->getClassPath()); 21 if(count($paths)>1) 22 { 23 $classFile=array_pop($paths).'.html'; 24 $this->setNavigateUrl(self::BASE_URL . '/' . implode('.',$paths) . '/' . $classFile); 25 if($this->getText() === '') 26 $this->setText('API Manual'); 27 } 28 } 29 } 30 31 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sun Feb 25 21:07:04 2007 | par Balluche grâce à PHPXref 0.7 |