1: <?php
2: /**
3: * Description of Title
4: *
5: * @author SARTAJ
6: */
7: namespace Sphp\comp\html{
8:
9: class Title extends \Sphp\tools\Control{
10:
11: public function onrender() {
12: $this->unsetRenderTag();
13: $hh1 = $this->getInnerHTML();
14: \SphpBase::sphp_settings()->title = $this->executePHPCode($hh1);
15: \SphpBase::sphp_settings()->metakeywords = $this->getAttribute("metakeywords");
16: \SphpBase::sphp_settings()->metadescription = $this->getAttribute("metadescription");
17: \SphpBase::sphp_settings()->metaclassification = $this->getAttribute("metaclassification");
18: \SphpBase::sphp_settings()->keywords = explode(",",$this->getAttribute("keywords"));
19: $this->setInnerHTML('');
20: }
21:
22:
23: }
24: }
25: