public function setParentId( $parentid )
	{
		if ( $parentid == $this->getParentId() ) { return; }

		$this->_values['parentid'] = (int) $parentid;
		$this->setModified();
	}
public function setParentId( $parentid )
	{
		if ( $parentid == $this->getParentId() ) { return; }

		$this->_values['parentid'] = (int) $parentid;
		$this->setModified();
	}
public function setParentId ( $ parentid ) { if ( $ parentid == $ this -> getParentId ( ) ) { return ; } $ this -> _values [ 'parentid' ] = ( int ) $ parentid ; $ this -> setModified ( ) ; }
Sets the parent ID of the common list item,
like the unique ID of a product or a tree node.

@param integer $parentid New parent ID of the common list item
Sets the parent ID of the common list item like the unique ID of a product or a tree node .