Example #1
0
 protected function &getLime()
 {
     $lime = new Object();
     if ($object = LimeFocus::getInstance()) {
         return $object;
     }
     throw new Exception("Invalid or missing Lime focus", 4);
     return null;
 }
Example #2
0
 function __construct($object)
 {
     parent::__construct($object->type, $object->type_id, $object->id, $object->name);
     self::$_instance = $this;
 }