lib/components/web/ObjectViewEvent.php
public function setObject($object)
    {
        if (is_null($this->_objectType)) {
            $this->objectType = $object->objectType;
        }
        $this->_object = $object;
    }
public function setObject($object)
    {
        if (is_null($this->_objectType)) {
            $this->objectType = $object->objectType;
        }
        $this->_object = $object;
    }
Set object.

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