Namespaces

  • Nette
    • Application
      • Diagnostics
      • Responses
      • Routers
      • UI
    • Caching
      • Storages
    • ComponentModel
    • Config
      • Adapters
      • Extensions
    • Database
      • Diagnostics
      • Drivers
      • Reflection
      • Table
    • DI
      • Diagnostics
    • Diagnostics
    • Forms
      • Controls
      • Rendering
    • Http
    • Iterators
    • Latte
      • Macros
    • Loaders
    • Localization
    • Mail
    • Reflection
    • Security
      • Diagnostics
    • Templating
    • Utils
      • PhpGenerator
  • NetteModule
  • none

Classes

  • Connection
  • Helpers
  • Row
  • SqlLiteral
  • SqlPreprocessor
  • Statement

Interfaces

  • IReflection
  • ISupplementalDriver
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Other releases
  • Nette homepage
 1: <?php
 2: 
 3: /**
 4:  * This file is part of the Nette Framework (https://nette.org)
 5:  * Copyright (c) 2004 David Grudl (http://davidgrudl.com)
 6:  */
 7: 
 8: namespace Nette\Database;
 9: 
10: use Nette;
11: 
12: 
13: /**
14:  * SQL literal value.
15:  *
16:  * @author     Jakub Vrana
17:  */
18: class SqlLiteral extends Nette\Object
19: {
20:     /** @var string */
21:     private $value = '';
22: 
23: 
24:     public function __construct($value)
25:     {
26:         $this->value = (string) $value;
27:     }
28: 
29: 
30:     /**
31:      * @return string
32:      */
33:     public function __toString()
34:     {
35:         return $this->value;
36:     }
37: 
38: }
39: 
Nette 2.0 API documentation generated by ApiGen 2.8.0