1: <?php
2:
3: /**
4: * @package Controls
5: */
6: class QImageControl extends QImageControlBase {
7: /**
8: * @var string Cache Folder
9: * If you wish to set a cache for the generated images so that they
10: * are not dynamically recreated every time, specify a default CacheFolder here.
11: *
12: * The Cache Folder is an absolute folder location relative to the root of the
13: * QCubed application. So for example, if you have the QCubed application installed
14: * at /var/web/wwwroot/my_application, and if docroot is "/var/web/wwwroot" and if
15: * you therefore have a subfolder defined as "/my_application", then if you specify
16: * a CacheFolder of "/text_images", the following will happen:
17: * Cached images will be stored at /var/web/wwwroot/my_application/text_images/...
18: * Cached images will be accessed by <img src="/my_application/text_images/...">
19: *
20: * Remember: CacheFolder *must* have a leading "/" and no trailing "/", and also
21: * be sure that the webserver process has WRITE access to the CacheFolder, itself.
22: */
23: protected $strCacheFolder = null;
24: }