@@ -54,7 +54,7 @@ |
||
| 54 | 54 | const VISIBLE = 1; |
| 55 | 55 | const INVISIBLE = 0; |
| 56 | 56 | |
| 57 | - protected $data_model = [ |
|
| 57 | + protected $data_model = [ |
|
| 58 | 58 | 'id' => 'int:1', |
| 59 | 59 | 'parent' => 'int:0', |
| 60 | 60 | 'title' => 'ml:text', |
@@ -35,7 +35,7 @@ |
||
| 35 | 35 | const TYPE_REFUNDED = 11; |
| 36 | 36 | const TYPE_COMPLETED = 12; |
| 37 | 37 | |
| 38 | - protected $data_model = [ |
|
| 38 | + protected $data_model = [ |
|
| 39 | 39 | 'id' => 'int', |
| 40 | 40 | 'title' => 'text', |
| 41 | 41 | 'type' => 'int', |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | ':', |
| 25 | 25 | array_slice(Request::instance()->route_path, -1)[0] |
| 26 | 26 | ); |
| 27 | -$item = $Items->get_for_user(array_pop($item)); |
|
| 27 | +$item = $Items->get_for_user(array_pop($item)); |
|
| 28 | 28 | $Page->title($item['title']); |
| 29 | 29 | $Page->Description = description($item['description']); |
| 30 | 30 | $Page->canonical_url( |
@@ -30,7 +30,7 @@ |
||
| 30 | 30 | Singleton, |
| 31 | 31 | Common_actions; |
| 32 | 32 | |
| 33 | - protected $data_model = [ |
|
| 33 | + protected $data_model = [ |
|
| 34 | 34 | 'id' => 'int', |
| 35 | 35 | 'price' => 'float', |
| 36 | 36 | 'phone_needed' => 'int:0..1', |
@@ -13,12 +13,12 @@ |
||
| 13 | 13 | cs\modules\Tags\Tags as Tags_trait, |
| 14 | 14 | cs\Singleton; |
| 15 | 15 | /** |
| 16 | - * Tags trait |
|
| 17 | - * |
|
| 18 | - * Provides methods for working with tags for faster development |
|
| 19 | - * |
|
| 20 | - * @method static $this instance($check = false) |
|
| 21 | - */ |
|
| 16 | + * Tags trait |
|
| 17 | + * |
|
| 18 | + * Provides methods for working with tags for faster development |
|
| 19 | + * |
|
| 20 | + * @method static $this instance($check = false) |
|
| 21 | + */ |
|
| 22 | 22 | class Tags { |
| 23 | 23 | use |
| 24 | 24 | Tags_trait, |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | use |
| 25 | 25 | CRUD_helpers, |
| 26 | 26 | Singleton; |
| 27 | - protected $data_model = [ |
|
| 27 | + protected $data_model = [ |
|
| 28 | 28 | 'id' => 'int:0', |
| 29 | 29 | 'user' => 'int:0', |
| 30 | 30 | 'date' => 'int:0', |
@@ -31,7 +31,7 @@ |
||
| 31 | 31 | Run pool of HTTP servers on ports 8080, 8081 and range of ports 8082-8087: |
| 32 | 32 | <g>./cli run_pool:Http_server ports=8080,8081,8082-8087</g> |
| 33 | 33 | |
| 34 | -HELP; |
|
| 34 | +help; |
|
| 35 | 35 | } |
| 36 | 36 | /** |
| 37 | 37 | * @param \cs\Request $Request |
@@ -23,7 +23,7 @@ |
||
| 23 | 23 | CRUD_helpers, |
| 24 | 24 | Singleton; |
| 25 | 25 | |
| 26 | - protected $data_model = [ |
|
| 26 | + protected $data_model = [ |
|
| 27 | 27 | 'key' => 'text', |
| 28 | 28 | 'title' => 'ml:text', |
| 29 | 29 | 'content' => 'ml:', |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | * Time of start of execution, is used as current time |
| 10 | 10 | */ |
| 11 | 11 | define('MICROTIME', microtime(true)); //In seconds (float) |
| 12 | -define('TIME', floor(MICROTIME)); //In seconds (integer) |
|
| 12 | +define('TIME', floor(MICROTIME)); //In seconds (integer) |
|
| 13 | 13 | //Root directory |
| 14 | 14 | defined('DIR') || define('DIR', realpath(__DIR__.'/..')); |
| 15 | 15 | defined('CORE') || define('CORE', DIR.'/core'); |