original_string: public function getDocURL($o)
      {
          if (!is_object($o)) {
              return false;
          }
  
          if (!$o instanceof AbstractObject) {
              return false;
          }
  
          /*$refl = new ReflectionClass($o);
          $parent = $refl->getParentClass();
  
  
          if($parent) {
              // check to make sure property is overriden in child
              $const = $parent->getConstants();
          var_Dump($const);
              if ($const['DOC'] == $o::DOC) return false;
          }
          */
  
          $url = $o::DOC;
          if (substr($url, 0, 4) != 'http') {
              return 'http://book.agiletoolkit.org/'.$url.'.html';
          }
  
          return $url;
      }
code: public function getDocURL($o)
      {
          if (!is_object($o)) {
              return false;
          }
  
          if (!$o instanceof AbstractObject) {
              return false;
          }
  
          /*$refl = new ReflectionClass($o);
          $parent = $refl->getParentClass();
  
  
          if($parent) {
              // check to make sure property is overriden in child
              $const = $parent->getConstants();
          var_Dump($const);
              if ($const['DOC'] == $o::DOC) return false;
          }
          */
  
          $url = $o::DOC;
          if (substr($url, 0, 4) != 'http') {
              return 'http://book.agiletoolkit.org/'.$url.'.html';
          }
  
          return $url;
      }
code_tokens: public function getDocURL ( $ o ) { if ( ! is_object ( $ o ) ) { return false ; } if ( ! $ o instanceof AbstractObject ) { return false ; } /*$refl = new ReflectionClass($o);
          $parent = $refl->getParentClass();
  
  
          if($parent) {
              // check to make sure property is overriden in child
              $const = $parent->getConstants();
          var_Dump($const);
              if ($const['DOC'] == $o::DOC) return false;
          }
          */ $ url = $ o :: DOC ; if ( substr ( $ url , 0 , 4 ) != 'http' ) { return 'http://book.agiletoolkit.org/' . $ url . '.html' ; } return $ url ; }
docstring: Classes define a DOC constant which points to a on-line resource
  containing documentation for given class. This method will
  return full URL for the specified object.
  
  @param AbstractObject $o
  
  @return bool|string
docstring_tokens: Classes define a DOC constant which points to a on - line resource containing documentation for given class . This method will return full URL for the specified object .