Skip to content
Snippets Groups Projects
Select Git revision
  • 98862ce811bdc9443e3eeb8a147153c0ee8d5903
  • master default protected
  • Legacy_Php7
3 results

rollout_default.php

Blame
  • rollout_default.php 991 B
    <?php
    /**
     * 
     * Rollout plugin - default
     * 
     * no action
     *
     * @author <axel.hahn@iml.unibe.ch>
     */
    class rollout_default extends rollout_base {
    
        /**
         * check requirements if the plugin could work
         */
        public function checkRequirements(){
            // no specific checks needed ... always true
            return true;
        }
    
        /**
         * check access to a deploy target
         */
        public function checkConnectionToTarget(){
            // do nothing ... always true
            return true;
        }
    
        /**
         * override general form renderer: show a single message that no
         * configuration items exist
         * 
         * @return string
         */
        public function renderFormdata4Project() {
            return $this->_t('no-cfg');
        }
    
        /**
         * override general form renderer: show a single message that no
         * configuration items exist
         * 
         * @return string
         */
        public function renderFormdata4Phase($sPhase) {
            return $this->_t('no-cfg');
        }    
    }