english/libraries/joomla/cache/cache.php
/**
	 * Store the cached data by id and group
	 *
	 * @param   string   $id     The cache data id
	 * @param   string   $group  The cache data group
	 * @param   mixed    $data   The data to store
	 *
	 * @return  boolean  True if cache stored
	 * @since   11.1
	 */
Store the cached data by id and group
@param   string   $id     The cache data id
@param   string   $group  The cache data group
@param   mixed    $data   The data to store

@return  boolean  True if cache stored
@since   11.1
Store the cached data by id and group @param string $id The cache data id @param string $group The cache data group @param mixed $data The data to store @return boolean True if cache stored @since 11 . 1
public function store($data, $id, $group=null)
	{
		$group = ($group) ? $group : $this->_options['defaultgroup'];
		$handler = $this->_getStorage();
		if (!JError::isError($handler) && $this->_options['caching']) {
			$handler->_lifetime = $this->_options['lifetime'];
			return $handler->store($id, $group, $data);
		}
		return false;
	}
public function store ( $ data , $ id , $ group = null ) { $ group = ( $ group ) ? $ group : $ this -> _options [ 'defaultgroup' ] ; $ handler = $ this -> _getStorage ( ) ; if ( ! JError :: isError ( $ handler ) && $ this -> _options [ 'caching' ] ) { $ handler -> _lifetime = $ this -> _options [ 'lifetime' ] ; return $ handler -> store ( $ id , $ group , $ data ) ; } return false ; }
Store the cached data by id and group
 @param   string   $id     The cache data id
 @param   string   $group  The cache data group
 @param   mixed    $data   The data to store
Store the cached data by id and group @param string $id The cache data id @param string $group The cache data group @param mixed $data The data to store
// Get the default group // Get the storage and store the cached data