Пример #1
0
 /**
  * Normal constructor- protected to prevent direct instantiation
  */
 protected function __construct()
 {
     parent::__construct();
     $this->library = vB_Library::instance('Content_Channel');
     $this->previewField[] = 'options';
     $this->previewField[] = 'styleid';
     $this->previewField[] = 'filedataid';
     $this->previewField[] = 'category';
 }
Пример #2
0
 /**
  * Normal constructor- protected to prevent direct instantiation
  */
 protected function __construct()
 {
     parent::__construct();
     $this->library = vB_Library::instance('Content_Photo');
 }
Пример #3
0
 /**
  * Constructor
  */
 protected function __construct()
 {
     parent::__construct();
     $this->library = vB_Library::instance('Content_Attach');
     $this->imageHandler = vB_Image::instance();
 }