public function getMediaModelName($type)
    {
        return isset($this->modelTypes[$type]) ?
            $this->modelTypes[$type] :
            $this->getDefaultMediaModelName();
    }
public function getMediaModelName($type)
    {
        return isset($this->modelTypes[$type]) ?
            $this->modelTypes[$type] :
            $this->getDefaultMediaModelName();
    }
public function getMediaModelName ( $ type ) { return isset ( $ this -> modelTypes [ $ type ] ) ? $ this -> modelTypes [ $ type ] : $ this -> getDefaultMediaModelName ( ) ; }
Returns the model class name for given type

@param string $type
@return string
Returns the model class name for given type