protected function is_editable($file_model) {
        $allowed_types = array_map('strtolower', $this->config['security']['editRestrictions']);
        return in_array(strtolower($file_model['attributes']['extension']), $allowed_types);
    }
protected function is_editable($file_model) {
        $allowed_types = array_map('strtolower', $this->config['security']['editRestrictions']);
        return in_array(strtolower($file_model['attributes']['extension']), $allowed_types);
    }
protected function is_editable ( $ file_model ) { $ allowed_types = array_map ( 'strtolower' , $ this -> config [ 'security' ] [ 'editRestrictions' ] ) ; return in_array ( strtolower ( $ file_model [ 'attributes' ] [ 'extension' ] ) , $ allowed_types ) ; }
Check whether the file model could be edited regarding configuration setup
@param string $file_model
@return bool
Check whether the file model could be edited regarding configuration setup