Zend/Gdata/YouTube/VideoQuery.php
public function setSafeSearch($value)
    {
        switch ($value) {
            case 'none':
                $this->_params['safeSearch'] = 'none';
                break;
            case 'moderate':
                $this->_params['safeSearch'] = 'moderate';
                break;
            case 'strict':
                $this->_params['safeSearch'] = 'strict';
                break;
            case null:
                unset($this->_params['safeSearch']);
            default:
                require_once 'Zend/Gdata/App/InvalidArgumentException.php';
                throw new Zend_Gdata_App_InvalidArgumentException(
                    'The safeSearch parameter only supports the values '.
                    '\'none\', \'moderate\' or \'strict\'.');
        }
    }
public function setSafeSearch($value)
    {
        switch ($value) {
            case 'none':
                $this->_params['safeSearch'] = 'none';
                break;
            case 'moderate':
                $this->_params['safeSearch'] = 'moderate';
                break;
            case 'strict':
                $this->_params['safeSearch'] = 'strict';
                break;
            case null:
                unset($this->_params['safeSearch']);
            default:
                require_once 'Zend/Gdata/App/InvalidArgumentException.php';
                throw new Zend_Gdata_App_InvalidArgumentException(
                    'The safeSearch parameter only supports the values '.
                    '\'none\', \'moderate\' or \'strict\'.');
        }
    }
public function setSafeSearch ( $ value ) { switch ( $ value ) { case 'none' : $ this -> _params [ 'safeSearch' ] = 'none' ; break ; case 'moderate' : $ this -> _params [ 'safeSearch' ] = 'moderate' ; break ; case 'strict' : $ this -> _params [ 'safeSearch' ] = 'strict' ; break ; case null : unset ( $ this -> _params [ 'safeSearch' ] ) ; default : require_once 'Zend/Gdata/App/InvalidArgumentException.php' ; throw new Zend_Gdata_App_InvalidArgumentException ( 'The safeSearch parameter only supports the values ' . '\'none\', \'moderate\' or \'strict\'.' ) ; } }
Set the safeSearch parameter

@param string $value The value of the parameter, currently only 'none',
'moderate' or 'strict' are allowed values.
@throws Zend_Gdata_App_InvalidArgumentException
@return Zend_Gdata_YouTube_VideoQuery Provides a fluent interface
Set the safeSearch parameter