-
Book Overview & Buying
-
Table Of Contents
Learning Phalcon PHP
By :
In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.
Code words in text are shown as follows: "Deleting data is easier, since we don't need to do more than calling the built-in delete() method."
A block of code is set as follows:
<?php
$di['session'] = function () {
$session = new Phalcon\Session\Adapter\Files();
$session->start();
return $session;
};When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
public function registerServices(\Phalcon\DiInterface $di) {
$config = include __DIR__ . "/Config/config.php";
$di['config'] = $config;
include __DIR__ . "/Config/services.php";
}Any command-line input or output is written as follows:
$ cd modules/Frontend/Views/Default $ mkdir index $ cd index $ touch index.volt
New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "Going back to the article list, you will see the new title, and the Updated column will have a new value."
Warnings or important notes appear in a box like this.
Tips and tricks appear like this.
Change the font size
Change margin width
Change background colour