Overview

Packages

  • awl
    • AuthPlugin
    • AwlDatabase
    • Browser
    • classEditor
    • DataEntry
    • DataUpdate
    • EMail
    • iCalendar
    • MenuSet
    • PgQuery
    • Session
    • Translation
    • User
    • Utilities
    • Validation
    • vCalendar
    • vComponent
    • XMLDocument
    • XMLElement
  • None
  • PHP

Classes

  • AwlCache
  • Multipart
  • SinglePart
  • vObject

Functions

  • getCacheInstance
  • translate
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo
 1: <?php
 2: /**
 3:  * Created by JetBrains PhpStorm.
 4:  * User: milan
 5:  * Date: 7/4/13
 6:  * Time: 12:59 PM
 7:  * To change this template use File | Settings | File Templates.
 8:  */
 9: 
10: abstract class vObject {
11: 
12:     protected $lineHeap;
13: 
14:     protected $valid = true;
15:     protected $master;
16: 
17:     function __construct(&$master = null){
18:         $this->master = isset($master) ? $master : $this;
19:     }
20: 
21: 
22:     function isValid(){
23:         return $this->valid;
24:     }
25: 
26:     protected function invalidate(){
27:         if ( isset($this->master) && $this->master != $this ) $this->master->invalidate();
28:         $this->valid = false;
29:     }
30: 
31:     function setMaster($master){
32:         $this->master = $master;
33:     }
34: 
35:     public function getMaster(){
36:         return $this->master;
37:     }
38: 
39:     /**
40:      * parse a lineHead to component or propertie
41:      * @return
42:      */
43:     //abstract function parse();
44: }
AWL API documentation generated by ApiGen 2.8.0