Namespaces

  • Latte
    • Loaders
    • Macros
    • Runtime
  • Nette
    • Application
      • Responses
      • Routers
      • UI
    • Bridges
      • ApplicationDI
      • ApplicationLatte
      • ApplicationTracy
      • CacheDI
      • CacheLatte
      • DatabaseDI
      • DatabaseTracy
      • DITracy
      • FormsDI
      • FormsLatte
      • Framework
      • HttpDI
      • HttpTracy
      • MailDI
      • ReflectionDI
      • SecurityDI
      • SecurityTracy
    • Caching
      • Storages
    • ComponentModel
    • Database
      • Conventions
      • Drivers
      • Reflection
      • Table
    • DI
      • Config
        • Adapters
      • Extensions
    • Diagnostics
    • Forms
      • Controls
      • Rendering
    • Http
    • Iterators
    • Latte
    • Loaders
    • Localization
    • Mail
    • Neon
    • PhpGenerator
    • Reflection
    • Security
    • Templating
    • Utils
  • NetteModule
  • none
  • Tracy
    • Bridges
      • Nette

Classes

  • Compiler
  • Engine
  • HtmlNode
  • MacroNode
  • MacroTokens
  • Object
  • Parser
  • PhpWriter
  • Token

Interfaces

  • ILoader
  • IMacro

Exceptions

  • CompileException
  • RegexpException
  • RuntimeException
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
 1: <?php
 2: 
 3: /**
 4:  * This file is part of the Latte (http://latte.nette.org)
 5:  * Copyright (c) 2008 David Grudl (http://davidgrudl.com)
 6:  */
 7: 
 8: namespace Latte;
 9: 
10: 
11: /**
12:  * Object is the ultimate ancestor of all instantiable classes.
13:  */
14: abstract class Object
15: {
16: 
17:     /**
18:      * Call to undefined method.
19:      * @throws \LogicException
20:      */
21:     public function __call($name, $args)
22:     {
23:         $class = method_exists($this, $name) ? 'parent' : get_class($this);
24:         throw new \LogicException(sprintf('Call to undefined method %s::%s().', $class, $name));
25:     }
26: 
27: 
28:     /**
29:      * Access to undeclared property.
30:      * @throws \LogicException
31:      */
32:     public function &__get($name)
33:     {
34:         throw new \LogicException(sprintf('Cannot read an undeclared property %s::$%s.', get_class($this), $name));
35:     }
36: 
37: 
38:     /**
39:      * Access to undeclared property.
40:      * @throws \LogicException
41:      */
42:     public function __set($name, $value)
43:     {
44:         throw new \LogicException(sprintf('Cannot write to an undeclared property %s::$%s.', get_class($this), $name));
45:     }
46: 
47: 
48:     /**
49:      * @return bool
50:      */
51:     public function __isset($name)
52:     {
53:         return FALSE;
54:     }
55: 
56: 
57:     /**
58:      * Access to undeclared property.
59:      * @throws \LogicException
60:      */
61:     public function __unset($name)
62:     {
63:         throw new \LogicException(sprintf('Cannot unset the property %s::$%s.', get_class($this), $name));
64:     }
65: 
66: }
67: 
Nette 2.3.4 API API documentation generated by ApiGen 2.8.0