Documentation

landing.block.getrepository

landing.block.getrepository(section) 

This method returns list of blocks from repository or returns an error.

Parameters

Method Description Available from version
section Repository section code (list is provided above)

Example

BX24.callMethod(
	'landing.block.getrepository',
	{
		section: 'about'
	},
	function(result)
	{
		if(result.error())
		{
			console.error(result.error());
		}
		else
		{
			console.info(result.data());
		}
	}
);


© «Bitrix24», 2001-2024