/** * Sets the reference to the assocoated model. * * @param object Model $model * @access public */ function setAssociatedModel(&$model) { $this->model =& $model; if ($this->isAnon) { $this->uri = $this->model->getUniqueResourceURI(BNODE_PREFIX); } }