public function setDefaults()
    {
        if ( !$this->getResponseCode() ) $this->setResponseCode(200);
        if ( !$this->getContentType() ) $this->setContentType('text/html');
        if ( !$this->getServer() ) $this->setServer('Skeetr 0.0.1');
    }
public function setDefaults()
    {
        if ( !$this->getResponseCode() ) $this->setResponseCode(200);
        if ( !$this->getContentType() ) $this->setContentType('text/html');
        if ( !$this->getServer() ) $this->setServer('Skeetr 0.0.1');
    }
public function setDefaults ( ) { if ( ! $ this -> getResponseCode ( ) ) $ this -> setResponseCode ( 200 ) ; if ( ! $ this -> getContentType ( ) ) $ this -> setContentType ( 'text/html' ) ; if ( ! $ this -> getServer ( ) ) $ this -> setServer ( 'Skeetr 0.0.1' ) ; }
Sets the default server and content type headers and response code if
not is setted allready.
Sets the default server and content type headers and response code if not is setted allready .