src/FlexiPeeHP/FlexiBeeRO.php
public function getOnlineColumnsInfo($evidence = null)
    {
        $properties = [];
        $evidence   = is_null($evidence) ? $this->getEvidence() : $evidence;
        $flexinfo   = $this->performRequest('/c/'.$this->company.'/'.$evidence.'/properties.json');
        if (count($flexinfo) && array_key_exists('properties', $flexinfo)) {
            foreach ($flexinfo['properties']['property'] as $evidenceProperty) {
                $key                      = $evidenceProperty['propertyName'];
                $properties[$key]         = $evidenceProperty;
                $properties[$key]['name'] = $evidenceProperty['name'];
                $properties[$key]['type'] = $evidenceProperty['type'];
                if (array_key_exists('url', $evidenceProperty)) {
                    $properties[$key]['url'] = str_replace('?limit=0', '',
                        $evidenceProperty['url']);
                }
            }
        }
        return $properties;
    }
public function getOnlineColumnsInfo($evidence = null)
    {
        $properties = [];
        $evidence   = is_null($evidence) ? $this->getEvidence() : $evidence;
        $flexinfo   = $this->performRequest('/c/'.$this->company.'/'.$evidence.'/properties.json');
        if (count($flexinfo) && array_key_exists('properties', $flexinfo)) {
            foreach ($flexinfo['properties']['property'] as $evidenceProperty) {
                $key                      = $evidenceProperty['propertyName'];
                $properties[$key]         = $evidenceProperty;
                $properties[$key]['name'] = $evidenceProperty['name'];
                $properties[$key]['type'] = $evidenceProperty['type'];
                if (array_key_exists('url', $evidenceProperty)) {
                    $properties[$key]['url'] = str_replace('?limit=0', '',
                        $evidenceProperty['url']);
                }
            }
        }
        return $properties;
    }
public function getOnlineColumnsInfo ( $ evidence = null ) { $ properties = [ ] ; $ evidence = is_null ( $ evidence ) ? $ this -> getEvidence ( ) : $ evidence ; $ flexinfo = $ this -> performRequest ( '/c/' . $ this -> company . '/' . $ evidence . '/properties.json' ) ; if ( count ( $ flexinfo ) && array_key_exists ( 'properties' , $ flexinfo ) ) { foreach ( $ flexinfo [ 'properties' ] [ 'property' ] as $ evidenceProperty ) { $ key = $ evidenceProperty [ 'propertyName' ] ; $ properties [ $ key ] = $ evidenceProperty ; $ properties [ $ key ] [ 'name' ] = $ evidenceProperty [ 'name' ] ; $ properties [ $ key ] [ 'type' ] = $ evidenceProperty [ 'type' ] ; if ( array_key_exists ( 'url' , $ evidenceProperty ) ) { $ properties [ $ key ] [ 'url' ] = str_replace ( '?limit=0' , '' , $ evidenceProperty [ 'url' ] ) ; } } } return $ properties ; }
Obtain Current evidence Live structure

@param string $evidence

@return array structure
Obtain Current evidence Live structure