/** * 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'; }
/** * Normal constructor- protected to prevent direct instantiation */ protected function __construct() { parent::__construct(); $this->library = vB_Library::instance('Content_Photo'); }
/** * Constructor */ protected function __construct() { parent::__construct(); $this->library = vB_Library::instance('Content_Attach'); $this->imageHandler = vB_Image::instance(); }