\DiffConf

Class DiffConf compares configuration of router based on unix command diff

Summary

Methods
Properties
Constants
main()
setConfigs()
getFullpath1()
getFullpath2()
$conf1
$conf2
No constants found
No protected methods found
No protected properties found
N/A
createfilefordiff()
renderDiffColumn()
retrieveDiffAction()
$fullname1
$fullname2
N/A

Properties

$conf1

$conf1 : 

Type

$conf2

$conf2 : 

Type

$fullname1

$fullname1 : 

Type

$fullname2

$fullname2 : 

Type

Methods

main()

main() : string

Wrapper: run coppare and run rendering data for showing

Returns

string

setConfigs()

setConfigs(  $conf1,   $conf2) 

set configuration for comparison

Parameters

$conf1
$conf2

getFullpath1()

getFullpath1() : mixed

Get full path for first file for comparison

Returns

mixed

getFullpath2()

getFullpath2() : mixed

Get full path for second file for comparison

Returns

mixed

createfilefordiff()

createfilefordiff() 

Create files for comparison using data from DB

renderDiffColumn()

renderDiffColumn() : string

render data for showing

Returns

string

retrieveDiffAction()

retrieveDiffAction(  $diffRes,   $action) : mixed

parse data for rendering

Parameters

$diffRes
$action

Returns

mixed