src/FlexiPeeHP/FlexiBeeRO.php
public function idExists($identifer = null)
    {
        if (is_null($identifer)) {
            $identifer = $this->getMyKey();
        }
        $ignorestate = $this->ignore404();
        $this->ignore404(true);
        $cands       = $this->getFlexiData(null,
            [
                'detail' => 'custom:'.$this->getKeyColumn(),
                $this->getKeyColumn() => $identifer
        ]);
        $this->ignore404($ignorestate);
        return ($this->lastResponseCode == 200) && !empty($cands);
    }
public function idExists($identifer = null)
    {
        if (is_null($identifer)) {
            $identifer = $this->getMyKey();
        }
        $ignorestate = $this->ignore404();
        $this->ignore404(true);
        $cands       = $this->getFlexiData(null,
            [
                'detail' => 'custom:'.$this->getKeyColumn(),
                $this->getKeyColumn() => $identifer
        ]);
        $this->ignore404($ignorestate);
        return ($this->lastResponseCode == 200) && !empty($cands);
    }
public function idExists ( $ identifer = null ) { if ( is_null ( $ identifer ) ) { $ identifer = $ this -> getMyKey ( ) ; } $ ignorestate = $ this -> ignore404 ( ) ; $ this -> ignore404 ( true ) ; $ cands = $ this -> getFlexiData ( null , [ 'detail' => 'custom:' . $ this -> getKeyColumn ( ) , $ this -> getKeyColumn ( ) => $ identifer ] ) ; $ this -> ignore404 ( $ ignorestate ) ; return ( $ this -> lastResponseCode == 200 ) && ! empty ( $ cands ) ; }
Test if given record ID exists in FlexiBee.

@param mixed $identifer presence state

@return boolean
Test if given record ID exists in FlexiBee .