lib/components/dataInterface/DataItem.php
protected function searchLocalObject($event)
    {
        if (isset($this->foreignObject) && !isset($this->_localObject) && isset($this->dataSource->search)) {
            if (($localObject = $this->dataSource->search->searchLocal($this)) && !empty($localObject)) {
                $this->localObject = $localObject;
            }

            if ($localObject === false) {
                $this->localModelError = true;
            }
        }

        return true;
    }
protected function searchLocalObject($event)
    {
        if (isset($this->foreignObject) && !isset($this->_localObject) && isset($this->dataSource->search)) {
            if (($localObject = $this->dataSource->search->searchLocal($this)) && !empty($localObject)) {
                $this->localObject = $localObject;
            }

            if ($localObject === false) {
                $this->localModelError = true;
            }
        }

        return true;
    }
protected function searchLocalObject ( $ event ) { if ( isset ( $ this -> foreignObject ) && ! isset ( $ this -> _localObject ) && isset ( $ this -> dataSource -> search ) ) { if ( ( $ localObject = $ this -> dataSource -> search -> searchLocal ( $ this ) ) && ! empty ( $ localObject ) ) { $ this -> localObject = $ localObject ; } if ( $ localObject === false ) { $ this -> localModelError = true ; } } return true ; }
[[@doctodo method_description:searchLocalObject]].

@param [[@doctodo param_type:event]] $event [[@doctodo param_description:event]]

@return [[@doctodo return_type:searchLocalObject]] [[@doctodo return_description:searchLocalObject]]
[[ @doctodo method_description : searchLocalObject ]] .