<?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');
    }    
}