Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Wednesday, October 14, 2026

Diff for phpPlatonLib/HTML_Content/Content.php between version 1.15 and 1.16

version 1.15, 2003/01/31 14:40:03 version 1.16, 2003/01/31 14:59:03
Line 224  class HTML_Content
Line 224  class HTML_Content
                 if ($idx > count($ar)) {                  if ($idx > count($ar)) {
                         return false;                          return false;
                 }                  }
                 return isset($ar[$idx]) ? $ar[$idx] : '';                  return @$ar[$idx];
         }          }
   
         /* $where must be head/body, $name must be lowercase */          /* $where must be head/body, $name must be lowercase */
Line 291  class HTML_Content
Line 291  class HTML_Content
         function getTitle()          function getTitle()
         {          {
                 $title_tag = $this->_getTag('head', 'title', 0);                  $title_tag = $this->_getTag('head', 'title', 0);
                 return @$title_tag['__content'];                  return @is_array($title_tag) ? @$title_tag['__content'] : '';
         }          }
   
         function getTag($where, $name, $attr = '', $value = '')          function getTag($where, $name, $attr = '', $value = '')

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top