function get_component_ref_code() { if (isset($this->attributes['mirror_of'])) { if ($mirrored_pager =& $this->parent->find_child($this->attributes['mirror_of'])) { return $mirrored_pager->get_component_ref_code(); } else { debug::write_error('mirror_of pager component not found', __FILE__ . ' : ' . __LINE__ . ' : ' . __FUNCTION__, array('mirror_of' => $this->attributes['mirror_of'])); } } else { return parent::get_component_ref_code(); } }