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