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 | |
| namespace Common\ContentBundle\Entity; | |
| ... | |
| use Gedmo\Mapping\Annotation as Gedmo; | |
| class ProductCategory | |
| { | |
| ... | |
| /** | |
| * @var integer $position |
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
| var loginService = $resource('whateverURL/v1/auth'); | |
| var action = new loginService({ | |
| 'username': $scope.user, | |
| 'password': $scope.pass, | |
| 'organization_id': $scope.organization.id | |
| }); // These will be included in each POST request | |
| var urlData = { 'token': 459 }; // This will be included into the URL as parameters | |
| var bodyData = { 'Example': 56 }; // This will be included in the body but just for the following request |