n2n Page Rocket 1 API

n2n\log4php\location

­Location­Info

LocationInfo
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Constant summary

Property summary

Modifier and Type Property
protected integer lineNumber
protected string fileName
protected string className
protected string methodName
protected string fullInfo

Methods summary

Modifier and Type Method
public __construct ( array trace , unknown fqcn = null )
public getClassName ( )
public getFileName ( )
public getLineNumber ( )
public getMethodName ( )
public getFullInfo ( )

Constants in detail

  • LOCATION_INFO_NA

    ­ const LOCATION_INFO_NA ­

Properties in detail

  • lineNumber

    protected ­ ­ integer ­ lineNumber
    Caller line number.
    var
    integer
  • fileName

    protected ­ ­ string ­ fileName
    Caller file name.
    var
    string
  • className

    protected ­ ­ string ­ className
    Caller class name.
    var
    string
  • methodName

    protected ­ ­ string ­ methodName
    Caller method name.
    var
    string
  • fullInfo

    protected ­ ­ string ­ fullInfo
    All the information combined.
    var
    string

Methods in detail

  • __construct

    public __construct ( array trace , unknown fqcn = null )
    Instantiate location information based on a PHP_MANUAL#debug_backtrace.
    param
    array trace
    mixed caller
  • getClassName

    public getClassName ( )
  • getFileName

    public getFileName ( )
  • getLineNumber

    public getLineNumber ( )
  • getMethodName

    public getMethodName ( )
  • getFullInfo

    public getFullInfo ( )