This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: '3' | |
| services: | |
| strapi: | |
| container_name: strapi | |
| image: strapi/strapi | |
| environment: | |
| - DATABASE_CLIENT=mysql | |
| - DATABASE_HOST=mysql | |
| - DATABASE_PORT=3306 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| header('content-type: text/plain'); | |
| //Creating Test Data | |
| $event_listing = array(); | |
| $event_listing[] = array('event_name' => 'WordPress Meetup', 'event_date' => '2015-03-02'); | |
| $event_listing[] = array('event_name' => 'Dribbble Meetup', 'event_date' => '2014-09-23'); | |
| $event_listing[] = array('event_name' => 'Behance Meetup', 'event_date' => '2014-12-17'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $api = MagentoApi::get_instance(); | |
| $api->setHost('your_magento_url/api/xmlrpc/') | |
| ->setCredentials('your_magento_api_user','your_magento_api_key'); | |
| /*** | |
| * For list of Supported Method Please visit | |
| * http://www.magentocommerce.com/api/soap/catalog/catalog.html | |
| * |