app/code/community/Aoe/TemplateHints/Helper/ClassInfo.php
public function findFileAndLine($className) {
        $result = false;
        $fullPath = $this->searchFullPath($this->getFileFromClassName($className));
        if ($fullPath) {
            $result = array('file' => $fullPath, 'line' => 0);
            $lineNumber = $this->getLineNumber($fullPath, '/class\s+'.$className.'/');
            if ($lineNumber) {
                $result['line'] = $lineNumber;
            }
        }
        return $result;
    }
public function findFileAndLine($className) {
        $result = false;
        $fullPath = $this->searchFullPath($this->getFileFromClassName($className));
        if ($fullPath) {
            $result = array('file' => $fullPath, 'line' => 0);
            $lineNumber = $this->getLineNumber($fullPath, '/class\s+'.$className.'/');
            if ($lineNumber) {
                $result['line'] = $lineNumber;
            }
        }
        return $result;
    }
public function findFileAndLine ( $ className ) { $ result = false ; $ fullPath = $ this -> searchFullPath ( $ this -> getFileFromClassName ( $ className ) ) ; if ( $ fullPath ) { $ result = array ( 'file' => $ fullPath , 'line' => 0 ) ; $ lineNumber = $ this -> getLineNumber ( $ fullPath , '/class\s+' . $ className . '/' ) ; if ( $ lineNumber ) { $ result [ 'line' ] = $ lineNumber ; } } return $ result ; }
Find file and line of the class statement

@param $className
@return bool|array
Find file and line of the class statement