<Additional information about your API call. Try to use verbs that match both request type (fetching vs modifying) and plurality (one vs multiple).>
-
URL
<The URL Structure (path only, no root url)>
-
Method:
<nav aria-label="Page navigation"> | |
<ul class="pagination"> | |
<?php | |
$this->Paginator->templates([ | |
'prevActive' => '<li class="page-item"><a class="page-link" href="{{url}}">{{text}}</a></li>' | |
]); | |
$this->Paginator->templates([ | |
'prevDisabled' => '<li class="page-item disabled"><a class="page-link" href="{{url}}">{{text}}</a></li>' | |
]); | |
?> |
#!/bin/bash | |
# This deploy hook gets executed after dependencies are resolved and the | |
# build hook has been run but before the application has been started back | |
# up again. This script gets executed directly, so it could be python, php, | |
# ruby, etc. | |
export COMPOSER_HOME="$OPENSHIFT_DATA_DIR/.composer" | |
if [ ! -f "$OPENSHIFT_DATA_DIR/composer.phar" ]; then | |
curl -s https://getcomposer.org/installer | /usr/local/zend/bin/php -- --install-dir=$OPENSHIFT_DATA_DIR |
DROP TABLE IF EXISTS `categories`; | |
CREATE TABLE `categories` ( | |
`id` char(36) NOT NULL, | |
`name` varchar(100) NOT NULL, | |
`description` text NOT NULL, | |
`created` datetime NOT NULL, | |
`modified` datetime NOT NULL, | |
PRIMARY KEY (`id`) |