public function setActive($id)
	{
		if (isset($this->_items[$id]))
		{
			$this->_active = $id;

			$result =& $this->_items[$id];

			return $result;
		}

		return null;
	}
public function setActive($id)
	{
		if (isset($this->_items[$id]))
		{
			$this->_active = $id;

			$result =& $this->_items[$id];

			return $result;
		}

		return null;
	}
public function setActive ( $ id ) { if ( isset ( $ this -> _items [ $ id ] ) ) { $ this -> _active = $ id ; $ result = & $ this -> _items [ $ id ] ; return $ result ; } return null ; }
Set the default item by id

@param   integer  $id  The item id
@return  mixed    If successful the active item, otherwise null
Set the default item by id