/** * initialize stuff that depends on runtime configuration so that * what is displayed represents the changes from last update. * */ function initRuntime() { //$this->load(); //populate lists of image sizes that depend on runtime stuff and cannot be populated before $this->_unpopulateAllViews(); $this->_populateAllViews(); //$this->_options['contentView']->unpopulate(); //$this->_options['excerptView']->unpopulate(); //put the available image sizes into the list for content and excerpt //$this->_options['contentView']->populate($this->getImageSizeNames(),$this->ORIGINAL_IDENTIFIER == 'original'); //$this->_options['excerptView']->populate($this->getImageSizeNames(),$this->ORIGINAL_IDENTIFIER == 'original'); //test for presence of imageMagick $imagemagickTest = new PhotoQImageMagickPathCheckInputTest(); $msg = $imagemagickTest->validate($this->_options['imagemagickPath']); $this->_options['imagemagickPath']->setTextAfter('<br/>' . $msg); }
/** * initialize stuff that depends on runtime configuration so that * what is displayed represents the changes from last update. * */ function initRuntime() { //populate lists of image sizes that depend on runtime stuff and cannot be populated before $this->_unpopulateAllViews(); $this->_populateAllViews(); //test for presence of imageMagick $imagemagickTest = new PhotoQImageMagickPathCheckInputTest(array(&$this, 'showImageMagickValError')); $imagemagickTest->validate($this->_options['imagemagickPath']); }