PHP code example of processton-io / processton-interaction

1. Go to this page and download the library: Download processton-io/processton-interaction 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/ */

    

processton-io / processton-interaction example snippets


ProcesstonElements::width(
    $SM_Widh,
    $MD_Widh,
    $LG_Width,
    $AditioalSizes = [
        'xxxs' => $XXXS_Width,
        'xxs' => $XXS_Width,
        'xs' => $XS_Width,
        'xl' => $XL_Width,
        'xxl' => $XXL_Width,
        'xxxl' => $XXXL_Width
    ]
)

ProcesstonElements::generateBreadCrumbs(...$breadcrumbs)

ProcesstonElements::generateBreadCrumbItem(
    $label,
    $slug,
    $icon = ''
)

ProcesstonElements::generateInteraction(
    $title,
    $slug,
    $subTitle,
    $icon,
    $breadcrumbs,
    $filters,
    $elements
)

ProcesstonElements::generateRow(
    $elements,
    $width
)

ProcesstonElements::generateElement(
    $type, 
    $title, 
    $data, 
    $subTitle, 
    $attachments, 
    $elements,
    $widthe,
    $name,
)

ProcesstonElements::generateElementByUrl(
    $dataSrc,
    $title,
    $subTitle,
    $type,
    $attachments,
    $elements,
)