Add an API to handle caching.
[platal.git] / classes / plimage.php
index 955df71..0578665 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /***************************************************************************
- *  Copyright (C) 2003-2009 Polytechnique.org                              *
+ *  Copyright (C) 2003-2010 Polytechnique.org                              *
  *  http://opensource.polytechnique.org/                                   *
  *                                                                         *
  *  This program is free software; you can redistribute it and/or modify   *
  ***************************************************************************/
 
 class PlImage {
-    private $mime = null;
-    private $x = null;
-    private $y = null;
+    protected $mime = null;
+    protected $x = null;
+    protected $y = null;
 
-    private $data = null;
-    private $file = null;
+    protected $data = null;
+    protected $file = null;
 
-    private function __construct()
+    protected function __construct()
     {
     }