PHP code example of maximaster / tools.finder
1. Go to this page and download the library: Download maximaster/tools.finder library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
maximaster / tools.finder example snippets
\Maximaster\Tools\Finder\Iblock::get('catalog', 'products');
\Maximaster\Tools\Finder\IblockSection::get(
\Maximaster\Tools\Finder\Iblock::get('catalog', 'products'),
'section_code'
);
namespace Vendor\Finder;
class Iblock extends \Maximaster\Tools\Finder\Iblock
{
public static function catalog()
{
return static::get('catalog', 'products')
}
}