IQnection\BigCommerceApp\App\Main
Synopsis
class Main
extends Controller
{
- // constants
- const SKIP_SYNC_SESSION_VAR = 'skip-next-sync';
- // members
- private static string $url_segment = '_bc';
- private static $managed_class;
- private static string $page_title = 'Dashboard';
- private static array $extensions = ;
- private static array $allowed_actions = ;
- private static array $public_actions = ;
- private static array $url_handlers = ;
- private static array $apps = ;
- private static array $nav_links = ;
- protected $_currentRecord;
- // methods
- public void pull()
- public void apidata()
- public void ping()
- public void init()
- public void search_api()
- public void searchFiles()
- public void searchCategories()
- public void searchProducts()
- public void Title()
- public void index()
- public void NavLinks()
- protected void BuildNavChildren()
- public void Menu()
- protected void BootstrapFormFields()
- public void BootstrapForm()
- public void dismissnotifications()
- public void updateNotification()
- public void logout()
- protected void ajax_response()
- public void install()
- public void installerror()
- private void confirmInstall()
- public void uninstall()
- public void relatedObject()
- public void subRelatedObject()
- public void relatedObjectForm()
- public void subRelatedObjectForm()
- protected void _saveComponent()
- public void doSaveComponent_andReturn()
- public void doSaveComponent()
- public void doSaveSubcomponent()
- public void doDeleteComponent()
- public void doDeleteSubcomponent()
- public void relationremove()
- public void subrelationremove()
- public void relation()
- public void subrelation()
- public void currentRecord()
- public void recordForm()
- public void doSave()
- public void doDelete()
- public void doUnlink()
- public void sort_items()
Hierarchy
Extends
- SilverStripe\Control\Controller
Constants
Name | Value |
---|---|
SKIP_SYNC_SESSION_VAR | 'skip-next-sync' |
Members
private
- $allowed_actions
- $apps
- $extensions
- $managed_class
- $page_title
- $public_actions
- $url_handlers
- $url_segment
protected
- $_currentRecord
Methods
private
- confirmInstall() — Sends a callback to BigCommerce to let their server know if the install was successfull
protected
public
- BootstrapForm()
- Menu()
- Title()
- apidata()
- currentRecord()
- dismissnotifications()
- doDelete()
- doDeleteComponent()
- doDeleteSubcomponent()
- doSave()
- doSaveComponent()
- doSaveComponent_andReturn()
- doSaveSubcomponent()
- doUnlink()
- index()
- init()
- install() — callback when installing the app to a BigCommerce store
- installerror()
- logout()
- ping()
- pull()
- recordForm()
- relation()
- relationremove()
- searchCategories()
- searchFiles()
- searchProducts()
- search_api() — common method/action for searching resources expects params to pass as follows:
- sort_items()
- subRelatedObject()
- subRelatedObjectForm()
- subrelation()
- subrelationremove()
- uninstall() — callback used when uninstalling the app from a BigCommerce store
- updateNotification()