public function setSiteId( $id )
	{
		if ( $id === $this->getSiteId() ) { return; }

		$this->_values['siteid'] = (int) $id;
		$this->_sitePath = array( (int) $id );
		$this->_siteSubTree = array( (int) $id );

		/** @todo: Wrong site item shouldn't be available any more but causes problems in controller */
		// $this->_site = null;

		$this->setModified();
	}
public function setSiteId( $id )
	{
		if ( $id === $this->getSiteId() ) { return; }

		$this->_values['siteid'] = (int) $id;
		$this->_sitePath = array( (int) $id );
		$this->_siteSubTree = array( (int) $id );

		/** @todo: Wrong site item shouldn't be available any more but causes problems in controller */
		// $this->_site = null;

		$this->setModified();
	}
public function setSiteId ( $ id ) { if ( $ id === $ this -> getSiteId ( ) ) { return ; } $ this -> _values [ 'siteid' ] = ( int ) $ id ; $ this -> _sitePath = array ( ( int ) $ id ) ; $ this -> _siteSubTree = array ( ( int ) $ id ) ; /** @todo: Wrong site item shouldn't be available any more but causes problems in controller */ // $this->_site = null; $ this -> setModified ( ) ; }
Sets the identifier of the shop instance.

@param integer ID of the shop instance.
Sets the identifier of the shop instance .